Merge pull request #159 from techmccat/more-timerpin-impls #358
GitHub Actions / clippy
succeeded
Aug 8, 2025 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.89.0 (29483883e 2025-08-04)
- cargo 1.89.0 (c24e10642 2025-06-23)
- clippy 0.1.89 (29483883ee 2025-08-04)
Annotations
Check warning on line 326 in src/spi.rs
github-actions / clippy
casting to the same type is unnecessary (`u8` -> `u8`)
warning: casting to the same type is unnecessary (`u8` -> `u8`)
--> src/spi.rs:326:23
|
326 | return Ok(self.spi.dr8().read().bits() as u8);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.spi.dr8().read().bits()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
= note: `#[warn(clippy::unnecessary_cast)]` on by default
Check warning on line 172 in src/rng.rs
github-actions / clippy
lint `clippy::transmute_num_to_bytes` has been renamed to `unnecessary_transmutes`
warning: lint `clippy::transmute_num_to_bytes` has been renamed to `unnecessary_transmutes`
--> src/rng.rs:172:33
|
172 | #[allow(clippy::transmute_num_to_bytes)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `unnecessary_transmutes`
...
185 | rng_core!(usize, u32, u16, u8);
| ------------------------------ in this macro invocation
|
= note: `#[warn(renamed_and_removed_lints)]` on by default
= note: this warning originates in the macro `rng_core` (in Nightly builds, run with -Z macro-backtrace for more info)
Loading