Task #77540 - added.err
back to task #77540download
Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/delete.rs:324:8: warning: taken reference of right operand
# |
# 324 | if deployment_id == &booted.verity {
# | ^^^^^^^^^^^^^^^^^--------------
# | |
# | help: use the right value directly: `booted.verity`
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
# = note: `#[warn(clippy::op_ref)]` on by default
Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/delete.rs:338:27: warning: this `map_or` can be simplified
# |
# 338 | let deleting_staged = host
# | ___________________________^
# 339 | | .status
# 340 | | .staged
# 341 | | .as_ref()
# 342 | | .and_then(|s| s.composefs.as_ref())
# 343 | | .map_or(false, |cfs| cfs.verity == deployment_id);
# | |_________________________________________________________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
# = note: `#[warn(clippy::unnecessary_map_or)]` on by default
# help: use is_some_and instead
# |
# 343 - .map_or(false, |cfs| cfs.verity == deployment_id);
# 343 + .is_some_and(|cfs| cfs.verity == deployment_id);
# |
Error: CLIPPY_WARNING:
crates/lib/src/parsers/bls_config.rs:176:46: warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
# |
# 176 | BLSConfigType::EFI { efi } => Ok(efi
# | ______________________________________________^
# 177 | | .components()
# 178 | | .last()
# | |__________________-----^
# | |
# | help: try: `next_back()`
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last
Error: CLIPPY_WARNING:
crates/lib/src/parsers/grub_menuconfig.rs:109:12: warning: called `Iterator::last` on a `DoubleEndedIterator`; this will needlessly iterate the entire iterator
# |
# 109 | Ok(to_path
# | ____________^
# 110 | | .components()
# 111 | | .last()
# | |______________-----^
# | |
# | help: try: `next_back()`
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last