Task #80242 - added.err

back to task #80242
download
Error: CLIPPY_WARNING:
crates/lib/src/bootc_kargs.rs:150:10: warning: called `map(..).flatten()` on `Option`
#      |
#  150 |           .map(|bootconfig| {
#      |  __________^
#  151 | |             ostree::BootconfigParser::get(&bootconfig, "options")
#  152 | |                 .map(|options| Cmdline::from(options.to_string()))
#  153 | |         })
#  154 | |         .flatten()
#      | |__________________^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.91.0/index.html#map_flatten
#      = note: `#[warn(clippy::map_flatten)]` on by default
#  help: try replacing `map` with `and_then` and remove the `.flatten()`
#      |
#  150 ~         .and_then(|bootconfig| {
#  151 +             ostree::BootconfigParser::get(&bootconfig, "options")
#  152 +                 .map(|options| Cmdline::from(options.to_string()))
#  153 +         })
#      |