fixup! formatting lint

This commit is contained in:
Richard Maw 2021-10-15 21:14:07 +01:00
parent 636ecaffa2
commit b92f2c0339
2 changed files with 5 additions and 3 deletions

View file

@ -2168,7 +2168,9 @@ impl<'help> App<'help> {
return self._do_parse(&mut it);
}
_ => {
debug!("App::try_get_matches_from_mut: existing applet or no program name");
debug!(
"App::try_get_matches_from_mut: existing applet or no program name"
);
debug!("App::try_get_matches_from_mut: Reinserting command into arguments so subcommand parser matches it");
it.insert(&[&command]);
debug!("App::try_get_matches_from_mut: Clearing name and bin_name so that displayed command name starts with applet name");

View file

@ -38,13 +38,13 @@ fn examples_are_functional() {
continue;
#[allow(unreachable_code)]
"busybox".into()
},
}
Some("24b_multicall_hostname.rs") => {
#[cfg(not(feature = "unstable-multicall"))]
continue;
#[allow(unreachable_code)]
"hostname".into()
},
}
_ => path
.file_stem()
.and_then(OsStr::to_str)