[pre-commit.ci] pre-commit autoupdate #112
Open
GitHub Actions / clippy
failed
Mar 16, 2026 in 0s
clippy
2 errors
Details
Results
| Message level | Amount |
|---|---|
| Internal compiler error | 0 |
| Error | 2 |
| Warning | 0 |
| Note | 0 |
| Help | 0 |
Versions
- rustc 1.94.0 (4a4ef493e 2026-03-02)
- cargo 1.94.0 (85eff7c80 2026-01-15)
- clippy 0.1.94 (4a4ef493e3 2026-03-02)
Annotations
Check failure on line 742 in src/value_converter/from_python.rs
github-actions / clippy
use of bitwise operator instead of lazy operator between booleans
error: use of bitwise operator instead of lazy operator between booleans
--> src/value_converter/from_python.rs:742:12
|
742 | if (allowed_length != 0) & (number_of_coords != allowed_length) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(allowed_length != 0) && (number_of_coords != allowed_length)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#needless_bitwise_bool
Check failure on line 702 in src/value_converter/from_python.rs
github-actions / clippy
use of bitwise operator instead of lazy operator between booleans
error: use of bitwise operator instead of lazy operator between booleans
--> src/value_converter/from_python.rs:702:8
|
702 | if (allowed_length != 0) & (number_of_coords != allowed_length) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `(allowed_length != 0) && (number_of_coords != allowed_length)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#needless_bitwise_bool
= note: `-D clippy::needless-bitwise-bool` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_bitwise_bool)]`
Loading