Skip to content
GitHub Actions / clippy failed Jun 12, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (2)

esdt-safe/src/lib.rs|344 col 20| warning: equality checks against false can be replaced by a negation
--> esdt-safe/src/lib.rs:344:20
|
344 | 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|344 col 20| warning: equality checks against false can be replaced by a negation
--> esdt-safe/src/lib.rs:344:20
|
344 | 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 344 in esdt-safe/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

warning: equality checks against false can be replaced by a negation
   --> esdt-safe/src/lib.rs:344:20
    |
344 |                 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:344:20:w:warning: equality checks against false can be replaced by a negation
   --> esdt-safe/src/lib.rs:344:20
    |
344 |                 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 344 in esdt-safe/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

warning: equality checks against false can be replaced by a negation
   --> esdt-safe/src/lib.rs:344:20
    |
344 |                 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:344:20:w:warning: equality checks against false can be replaced by a negation
   --> esdt-safe/src/lib.rs:344:20
    |
344 |                 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__