Task #65202 - added.err

back to task #65202
download
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 can_perform_soft_reboot(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 ~                 && can_perform_soft_reboot(host.status.staged.as_ref()) {
#  919 |                     soft_reboot_staged(sysroot)?;
#  920 ~                 }
#      |

Error: CLIPPY_WARNING:
crates/lib/src/cli.rs:943:9: warning: this `if` statement can be collapsed
#      |
#  943 | /         if opts.queue_soft_reboot {
#  944 | |             if can_perform_soft_reboot(host.status.staged.as_ref()) {
#  945 | |                 soft_reboot_staged(sysroot)?;
#  946 | |             }
#  947 | |         }
#      | |_________^
#      |
#      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
#  help: collapse nested if block
#      |
#  943 ~         if opts.queue_soft_reboot
#  944 ~             && can_perform_soft_reboot(host.status.staged.as_ref()) {
#  945 |                 soft_reboot_staged(sysroot)?;
#  946 ~             }
#      |

Error: CLIPPY_WARNING:
crates/lib/src/cli.rs:1024:5: warning: this `if` statement can be collapsed
#       |
#  1024 | /     if opts.queue_soft_reboot {
#  1025 | |         if can_perform_soft_reboot(host.status.staged.as_ref()) {
#  1026 | |             soft_reboot_staged(sysroot)?;
#  1027 | |         }
#  1028 | |     }
#       | |_____^
#       |
#       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
#  help: collapse nested if block
#       |
#  1024 ~     if opts.queue_soft_reboot
#  1025 ~         && can_perform_soft_reboot(host.status.staged.as_ref()) {
#  1026 |             soft_reboot_staged(sysroot)?;
#  1027 ~         }
#       |