Skip to content

Commit

Permalink
removed superfluous space
Browse files Browse the repository at this point in the history
  • Loading branch information
Magicolo committed Mar 31, 2024
1 parent b90adf2 commit cc0480f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,13 +270,9 @@ impl<'a, S: Style + ?Sized + 'a> Helper<'a, S> {
})?;
if width == 0 {
width += self.write(prefix)?;
width += self.write("Usage: ")?;
let mut has = false;
width += self.write("Usage:")?;
for key in root.key().as_ref().into_iter().chain(self.path) {
if replace(&mut has, true) {
width += self.write(" ")?;
}
width += self.write(key)?;
width += self.write((' ', key))?;
}

match Meta::descend(
Expand Down

0 comments on commit cc0480f

Please sign in to comment.