summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/ci.yml1
-rw-r--r--src/lib.rs7
2 files changed, 2 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 141fea4..a7074d4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -26,6 +26,7 @@ jobs:
26 uses: actions-rs/cargo@v1 26 uses: actions-rs/cargo@v1
27 with: 27 with:
28 command: fmt 28 command: fmt
29 args: -- --check
29 30
30 - name: Lint with clippy 31 - name: Lint with clippy
31 uses: actions-rs/cargo@v1 32 uses: actions-rs/cargo@v1
diff --git a/src/lib.rs b/src/lib.rs
index 7acac21..bef0fb2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -100,12 +100,7 @@ impl PyObjectProtocol for BlockerResult {
100 fn __repr__(&self) -> PyResult<String> { 100 fn __repr__(&self) -> PyResult<String> {
101 Ok(format!( 101 Ok(format!(
102 "BlockerResult({}, {}, {:?}, {:?}, {:?}, {:?})", 102 "BlockerResult({}, {}, {:?}, {:?}, {:?}, {:?})",
103 self.matched, 103 self.matched, self.important, self.redirect, self.exception, self.filter, self.error
104 self.important,
105 self.redirect,
106 self.exception,
107 self.filter,
108 self.error
109 )) 104 ))
110 } 105 }
111} 106}