Task #86162 - added.err

back to task #86162
download
Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/boot.rs:1188:5: warning: unneeded `return` statement
#       |
#  1188 | /     return Ok(Some(SecurebootKeys {
#  1189 | |         dir: keys_dir,
#  1190 | |         keys: entries,
#  1191 | |     }));
#       | |_______^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#needless_return
#       = note: `#[warn(clippy::needless_return)]` on by default
#  help: remove `return`
#       |
#  1188 ~     Ok(Some(SecurebootKeys {
#  1189 +         dir: keys_dir,
#  1190 +         keys: entries,
#  1191 ~     }))
#       |

Error: CLIPPY_WARNING:
crates/lib/src/bootloader.rs:121:16: warning: length comparison to one
#      |
#  121 |             if keys.len() < 1 {
#      |                ^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `keys.is_empty()`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#len_zero
#      = note: `#[warn(clippy::len_zero)]` on by default