Skip to content

Commit

Permalink
fixup! formatting lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fishface60 committed Oct 15, 2021
1 parent 636ecaf commit b92f2c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion src/build/app/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
4 changes: 2 additions & 2 deletions tests/examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b92f2c0

Please sign in to comment.