Task #103147 - added.err
back to task #103147download
Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/gc.rs:234:14: warning: using `contains()` instead of `iter().any()` is more efficient
# |
# 234 | !bootloader_entries
# | ______________^
# 235 | | .iter()
# 236 | | .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:244:10: warning: called `is_some()` after searching an `Iterator` with `find`
# |
# 244 | .find(|be| be.1 == booted_cfs_status.verity)
# | __________^
# 245 | | .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
Error: CLIPPY_WARNING:
crates/lib/src/store/mod.rs:393:17: warning: returning the result of a `let` binding from a block
# |
# 389 | / let boot_dir = boot_dir
# 390 | | .open_dir(EFI_LINUX)
# 391 | | .with_context(|| format!("Opening {EFI_LINUX}"))?;
# | |______________________________________________________________________- unnecessary `let` binding
# 392 |
# 393 | boot_dir
# | ^^^^^^^^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.93.0/index.html#let_and_return
# help: return the expression directly
# |
# 389 ~
# 390 |
# 391 ~ boot_dir
# 392 + .open_dir(EFI_LINUX)
# 393 + .with_context(|| format!("Opening {EFI_LINUX}"))?
# |