Task #82971 - added.err

back to task #82971
download
Error: CLIPPY_WARNING:
crates/lib/src/bootc_composefs/boot.rs:426:21: warning: useless conversion to the same type: `bootc_kernel_cmdline::utf8::Cmdline<'_>`
#      |
#  426 |                     Cmdline::from(options)
#      |                     ^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `Cmdline::from()`: `options`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#useless_conversion
#      = note: `#[warn(clippy::useless_conversion)]` on by default

Error: CLIPPY_WARNING:
crates/lib/src/bootc_kargs.rs:95:13: warning: returning the result of a `let` binding from a block
#     |
#  94 |             let existing_kargs = get_kargs_in_root(&root, std::env::consts::ARCH)?;
#     |             ----------------------------------------------------------------------- unnecessary `let` binding
#  95 |             existing_kargs
#     |             ^^^^^^^^^^^^^^
#     |
#     = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#let_and_return
#     = note: `#[warn(clippy::let_and_return)]` on by default
#  help: return the expression directly
#     |
#  94 ~             
#  95 ~             get_kargs_in_root(&root, std::env::consts::ARCH)?
#     |