Add eh1 impl for LPI2C #589
GitHub Actions / clippy
succeeded
Mar 17, 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.76.0 (07dca489a 2024-02-04)
- cargo 1.76.0 (c84b36747 2024-01-18)
- clippy 0.1.76 (07dca48 2024-02-04)
Annotations
Check warning on line 64 in examples/rtic_spi.rs
github-actions / clippy
redundant pattern matching, consider using `is_some()`
warning: redundant pattern matching, consider using `is_some()`
--> examples/rtic_spi.rs:64:23
|
64 | while let Some(_) = spi.read_data() {}
| ----------^^^^^^^------------------ help: try: `while spi.read_data().is_some()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
= note: `#[warn(clippy::redundant_pattern_matching)]` on by default
Check warning on line 132 in board/src/teensy4.rs
github-actions / clippy
this let-binding has unit value
warning: this let-binding has unit value
--> board/src/teensy4.rs:132:9
|
132 | let led = ();
| ^^^^^^^^^^^^^ help: omit the `let` binding: `();`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_unit_value
= note: `#[warn(clippy::let_unit_value)]` on by default
Loading