Skip to content

Commit

Permalink
Fix no-newline issue in rlink summary output
Browse files Browse the repository at this point in the history
  • Loading branch information
wykurz committed Jan 9, 2025
1 parent c3f30fa commit 283832f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion common/src/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl std::fmt::Display for LinkSummary {
fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
write!(
f,
"{}hard-links created: {}\nhard links unchanged: {}",
"{}hard-links created: {}\nhard links unchanged: {}\n",
&self.copy_summary, self.hard_links_created, self.hard_links_unchanged
)
}
Expand Down
2 changes: 1 addition & 1 deletion common/src/rm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ impl std::fmt::Display for RmSummary {
f,
"files removed: {}\n\
symlinks removed: {}\n\
directories removed: {}",
directories removed: {}\n",
self.files_removed, self.symlinks_removed, self.directories_removed
)
}
Expand Down

0 comments on commit 283832f

Please sign in to comment.