Task #70743 - added.err
back to task #70743download
Error: CLIPPY_WARNING:
crates/xtask/src/man.rs:467:5: warning: empty string literal in `println!`
# |
# 467 | println!("");
# | ^^^^^^^^^--^
# | |
# | help: remove the empty string
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#println_empty_string
# = note: `#[warn(clippy::println_empty_string)]` on by default
Error: CLIPPY_WARNING:
crates/xtask/src/man.rs:482:12: warning: this `map_or` can be simplified
# |
# 482 | if path
# | ____________^
# 483 | | .extension()
# 484 | | .and_then(|s| s.to_str())
# 485 | | .map_or(false, |e| e.chars().all(|c| c.is_numeric()))
# | |_________________________________________________________________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
# = note: `#[warn(clippy::unnecessary_map_or)]` on by default
# help: use is_some_and instead
# |
# 485 - .map_or(false, |e| e.chars().all(|c| c.is_numeric()))
# 485 + .is_some_and(|e| e.chars().all(|c| c.is_numeric()))
# |