Task #102826 - added.err
back to task #102826download
Error: CLIPPY_WARNING: crates/lib/src/bootc_composefs/gc.rs:230:14: warning: using `contains()` instead of `iter().any()` is more efficient # | # 230 | !bootloader_entries # | ______________^ # 231 | | .iter() # 232 | | .any(|boot_entry| bin_path.1 == *boot_entry) # | |____________________________________________________________^ help: try: `bootloader_entries.contains(&bin_path.1)` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#manual_contains # = note: `#[warn(clippy::manual_contains)]` on by default Error: CLIPPY_WARNING: crates/lib/src/bootc_composefs/gc.rs:240:10: warning: called `is_some()` after searching an `Iterator` with `find` # | # 240 | .find(|be| be.1 == booted_cfs_status.verity) # | __________^ # 241 | | .is_some() # | |__________________^ help: consider using: `any(|be| be.1 == booted_cfs_status.verity)` # | # = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#search_is_some # = note: `#[warn(clippy::search_is_some)]` on by default