Format Rust code using rustfmt

This commit is contained in:
github-actions[bot]
2023-08-31 18:15:17 +00:00
committed by GitHub
parent 86c4e6def8
commit 7307c83cfa

View File

@@ -223,16 +223,16 @@ fn main() {
// Ask for confirmation // Ask for confirmation
if config.hosts.len() != 0 if config.hosts.len() != 0
&& (args.noconfirm == true && (args.noconfirm == true
|| match Question::new(&*format!( || match Question::new(&*format!(
"Continue on following {} servers?", "Continue on following {} servers?",
&config.hosts.len() &config.hosts.len()
)) ))
.confirm() .confirm()
{ {
Answer::YES => true, Answer::YES => true,
Answer::NO => false, Answer::NO => false,
_ => unreachable!(), _ => unreachable!(),
}) })
{ {
info!("\n"); info!("\n");
info!("Run command on {} servers.", &config.hosts.len()); info!("Run command on {} servers.", &config.hosts.len());