Task #64968 - added.err
back to task #64968download
Error: CLIPPY_WARNING:
crates/lib/src/cli.rs:768:5: warning: this `if` statement can be collapsed
# |
# 768 | / if host.spec.boot_order == crate::spec::BootOrder::Rollback {
# 769 | | if can_perform_soft_reboot(host.status.rollback.as_ref()) {
# 770 | | println!("Rollback deployment is soft-reboot capable, preparing for soft-reboot...");
# ... |
# 780 | | }
# | |_____^
# |
# = 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
# |
# 768 ~ if host.spec.boot_order == crate::spec::BootOrder::Rollback
# 769 ~ && can_perform_soft_reboot(host.status.rollback.as_ref()) {
# 770 | println!("Rollback deployment is soft-reboot capable, preparing for soft-reboot...");
# ...
# 778 | return Ok(true);
# 779 ~ }
# |