Skip to content

Commit

Permalink
Inline variables in format string
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Sep 23, 2024
1 parent e347a40 commit 69d1600
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/commands/describe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,10 @@ pub(crate) fn cmd_describe(
},
)?;
if num_described > 1 {
writeln!(ui.status(), "Updated {} commits", num_described)?;
writeln!(ui.status(), "Updated {num_described} commits")?;
}
if num_rebased > 0 {
writeln!(ui.status(), "Rebased {} descendant commits", num_rebased)?;
writeln!(ui.status(), "Rebased {num_rebased} descendant commits")?;
}
tx.finish(ui, tx_description)?;
Ok(())
Expand Down

0 comments on commit 69d1600

Please sign in to comment.