Task #107848 - added.err

back to task #107848
download
Error: CLIPPY_WARNING:
crates/blockdev/src/blockdev.rs:142:9: warning: using `Option.and_then(|x| Some(y))`, which is more succinctly expressed as `map(|x| y)`
#      |
#  142 | /         self.find_colocated_esps()?
#  143 | |             .and_then(|mut v| Some(v.remove(0)))
#      | |________________________________________________^ help: try: `self.find_colocated_esps()?.map(|mut v| v.remove(0))`
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#bind_instead_of_map
#      = note: `#[warn(clippy::bind_instead_of_map)]` on by default