diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 235b0fb..cc91f4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,10 +22,10 @@ jobs: components: rustfmt, clippy - uses: Swatinem/rust-cache@v2 - name: cargo fmt - run: cargo fmt -- --check + run: cargo fmt --all --check - name: cargo clippy - run: cargo clippy --tests -- -D warnings + run: cargo clippy --tests --all -- -D warnings - name: cargo check - run: cargo check + run: cargo check --all - name: cargo test run: cargo test diff --git a/python/src/lib.rs b/python/src/lib.rs index ffd27d5..2e242e8 100644 --- a/python/src/lib.rs +++ b/python/src/lib.rs @@ -43,7 +43,7 @@ impl Expr { } /// Converts this expression to cql2-text. - fn to_text<'py>(&self) -> PyResult { + fn to_text(&self) -> PyResult { self.0.to_text().map_err(to_py_error) }