Task #65396 - added.err
back to task #65396download
Error: CLIPPY_WARNING:
crates/lib/src/cli.rs:917:13: warning: this `if` statement can be collapsed
# |
# 917 | / if opts.queue_soft_reboot {
# 918 | | if has_soft_reboot_capability(host.status.staged.as_ref()) {
# 919 | | soft_reboot_staged(sysroot)?;
# 920 | | }
# 921 | | }
# | |_____________^
# |
# = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
# = note: `#[warn(clippy::collapsible_if)]` on by default
# help: collapse nested if block
# |
# 917 ~ if opts.queue_soft_reboot
# 918 ~ && has_soft_reboot_capability(host.status.staged.as_ref()) {
# 919 | soft_reboot_staged(sysroot)?;
# 920 ~ }
# |