This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
style: Fix clippy warnings #503
Annotations
2 errors
lint with clippy:
src/background_iterator.rs#L96
error: this boolean expression can be simplified
--> src/background_iterator.rs:96:21
|
96 | assert!(!(v[i] == 5), "simulated panic");
| ^^^^^^^^^^^^ help: try: `v[i] != 5`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool
note: the lint level is defined here
--> src/lib.rs:13:9
|
13 | #![deny(warnings, unused)]
| ^^^^^^^^
= note: `#[deny(clippy::nonminimal_bool)]` implied by `#[deny(warnings)]`
|
lint with clippy
Clippy had exited with the 101 exit code
|
Loading