Skip to content

Commit f8aad9d

Browse files
committed
do not append an extra newline char
1 parent ccfa9c4 commit f8aad9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_driver/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ fn show_content_with_pager(content: &String) {
413413
// If pager fails for whatever reason, we should still print the content
414414
// to standard output
415415
if fallback_to_println {
416-
println!("{}", content);
416+
print!("{}", content);
417417
}
418418
}
419419

0 commit comments

Comments
 (0)