Merge pull request #159 from techmccat/more-timerpin-impls #358
GitHub Actions / clippy
succeeded
Aug 8, 2025 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.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
Loading