Skip to content

Fix some nightly Clippy lints #897

Fix some nightly Clippy lints

Fix some nightly Clippy lints #897

GitHub Actions / clippy succeeded Jul 10, 2023 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (2)

src/sanity_checks.rs|26 col 34| error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/sanity_checks.rs:26:34
|
26 | if !images_equal(&a, &b) {
| ^^ help: change this to: a
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: -D clippy::needless-borrow implied by -D warnings
src/sanity_checks.rs|26 col 34| error: this expression creates a reference which is immediately dereferenced by the compiler
--> src/sanity_checks.rs:26:34
|
26 | if !images_equal(&a, &b) {
| ^^ help: change this to: a
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: -D clippy::needless-borrow implied by -D warnings