Task #107836 - added.err
back to task #107836download
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
Error: CLIPPY_WARNING:
crates/xtask/src/tmt.rs:1084:5: warning: calling `push_str()` using a single-character string literal
# |
# 1084 | tests_content.push_str("\n");
# | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `push` with a character literal: `tests_content.push('\n')`
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.94.0/index.html#single_char_add_str