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
if config.hosts.len() != 0
&& (args.noconfirm == true
|| match Question::new(&*format!(
"Continue on following {} servers?",
&config.hosts.len()
))
.confirm()
{
Answer::YES => true,
Answer::NO => false,
_ => unreachable!(),
})
|| match Question::new(&*format!(
"Continue on following {} servers?",
&config.hosts.len()
))
.confirm()
{
Answer::YES => true,
Answer::NO => false,
_ => unreachable!(),
})
{
info!("\n");
info!("Run command on {} servers.", &config.hosts.len());