Skip to content

Commit

Permalink
Fix missing newline
Browse files Browse the repository at this point in the history
  • Loading branch information
konstin committed Oct 18, 2023
1 parent 81b43ba commit 9e14fe7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/ruff_cli/src/commands/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ impl<'a> FormatResults<'a> {

// Write out a summary of the formatting results.
if changed > 0 && unchanged > 0 {
write!(
writeln!(
f,
"{} file{} {}, {} file{} left unchanged",
changed,
Expand All @@ -442,7 +442,7 @@ impl<'a> FormatResults<'a> {
if unchanged == 1 { "" } else { "s" },
)
} else if changed > 0 {
write!(
writeln!(
f,
"{} file{} {}",
changed,
Expand All @@ -453,7 +453,7 @@ impl<'a> FormatResults<'a> {
}
)
} else if unchanged > 0 {
write!(
writeln!(
f,
"{} file{} left unchanged",
unchanged,
Expand Down

0 comments on commit 9e14fe7

Please sign in to comment.