Skip to content

Commit 1beeb5a

Browse files
committed
do not append an extra newline char
1 parent 3146e55 commit 1beeb5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ fn show_content_with_pager(content: &String) {
411411
// If pager fails for whatever reason, we should still print the content
412412
// to standard output
413413
if fallback_to_println {
414-
println!("{}", content);
414+
print!("{}", content);
415415
}
416416
}
417417

0 commit comments

Comments
 (0)