build(deps): bump serde from 1.0.204 to 1.0.205 #531
Merged
GitHub Actions / clippy
succeeded
Aug 9, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.0 (051478957 2024-07-21)
- cargo 1.80.0 (376290515 2024-07-16)
- clippy 0.1.80 (0514789 2024-07-21)
Annotations
Check warning on line 76 in applehat/src/ui.rs
github-actions / clippy
accessing first element with `nodes.get(0)`
warning: accessing first element with `nodes.get(0)`
--> applehat/src/ui.rs:76:52
|
76 | if let Some((device_id, node_id, _)) = nodes.get(0) {
| ^^^^^^^^^^^^ help: try: `nodes.first()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
Check warning on line 301 in homie-controller/src/values.rs
github-actions / clippy
direct implementation of `ToString`
warning: direct implementation of `ToString`
--> homie-controller/src/values.rs:297:1
|
297 | / impl ToString for EnumValue {
298 | | fn to_string(&self) -> String {
299 | | self.0.to_string()
300 | | }
301 | | }
| |_^
|
= help: prefer implementing `Display` instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
= note: `#[warn(clippy::to_string_trait_impl)]` on by default
Loading