Skip to content
GitHub Actions / clippy failed Jun 10, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (2)

esdt-safe/src/lib.rs|343 col 20| warning: equality checks against false can be replaced by a negation
--> esdt-safe/src/lib.rs:343:20
|
343 | if updated == false {
| ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: !updated
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
= note: #[warn(clippy::bool_comparison)] on by default
esdt-safe/src/lib.rs|343 col 20| warning: equality checks against false can be replaced by a negation
--> esdt-safe/src/lib.rs:343:20
|
343 | if updated == false {
| ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: !updated
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
= note: #[warn(clippy::bool_comparison)] on by default

Filtered Findings (0)

Annotations

Check warning on line 343 in esdt-safe/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] esdt-safe/src/lib.rs#L343

warning: equality checks against false can be replaced by a negation
   --> esdt-safe/src/lib.rs:343:20
    |
343 |                 if updated == false {
    |                    ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!updated`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
    = note: `#[warn(clippy::bool_comparison)]` on by default
Raw output
esdt-safe/src/lib.rs:343:20:w:warning: equality checks against false can be replaced by a negation
   --> esdt-safe/src/lib.rs:343:20
    |
343 |                 if updated == false {
    |                    ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!updated`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
    = note: `#[warn(clippy::bool_comparison)]` on by default


__END__

Check warning on line 343 in esdt-safe/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] esdt-safe/src/lib.rs#L343

warning: equality checks against false can be replaced by a negation
   --> esdt-safe/src/lib.rs:343:20
    |
343 |                 if updated == false {
    |                    ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!updated`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
    = note: `#[warn(clippy::bool_comparison)]` on by default
Raw output
esdt-safe/src/lib.rs:343:20:w:warning: equality checks against false can be replaced by a negation
   --> esdt-safe/src/lib.rs:343:20
    |
343 |                 if updated == false {
    |                    ^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!updated`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison
    = note: `#[warn(clippy::bool_comparison)]` on by default


__END__