error: manual `Range::contains` implementation
Error: --> devices/src/legacy/rtc_pl031.rs:342:12
|
342 | if offset < AMBA_ID_HIGH && offset >= AMBA_ID_LOW {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use: `(AMBA_ID_LOW..AMBA_ID_HIGH).contains(&offset)`
|
= note: `-D clippy::manual-range-contains` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_range_contains
Signed-off-by: Rob Bradford <robert.bradford@intel.com>
|
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||