Switch to non-deprecated proc-macro
key in Cargo.toml.
#186
GitHub Actions / clippy
succeeded
Sep 6, 2024 in 0s
clippy
1 warning
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 1 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.1 (3f5fd8dd4 2024-08-06)
- cargo 1.80.1 (376290515 2024-07-16)
- clippy 0.1.80 (3f5fd8d 2024-08-06)
Annotations
Check warning on line 194 in src/event/mod.rs
github-actions / clippy
unnecessary use of `get(&button).is_some()`
warning: unnecessary use of `get(&button).is_some()`
--> src/event/mod.rs:194:16
|
194 | self.buttons.get(&button).is_some()
| ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `contains(&button)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check
= note: `#[warn(clippy::unnecessary_get_then_check)]` on by default
Loading