Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump serde from 1.0.204 to 1.0.205 #531

Merged
merged 2 commits into from
Aug 9, 2024

cargo update

d20d85f
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

build(deps): bump serde from 1.0.204 to 1.0.205 #531

cargo update
d20d85f
Select commit
Loading
Failed to load commit list.
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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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