Skip to content

Switch to stm32g0-staging #318

Switch to stm32g0-staging

Switch to stm32g0-staging #318

GitHub Actions / clippy succeeded Dec 16, 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.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check warning on line 315 in src/analog/adc.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `u16`

warning: useless conversion to the same type: `u16`
   --> src/analog/adc.rs:315:12
    |
315 |         Ok(val.into())
    |            ^^^^^^^^^^ help: consider removing `.into()`: `val`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
    = note: `#[warn(clippy::useless_conversion)]` on by default