Skip to content

Commit 0fd8cb0

Browse files
committed
auto merge of #9609 : alexcrichton/rust/fix-logging-newline, r=catamorphism
Forgot to do this when I was refactoring logging :(
2 parents 727d4c3 + c687f6f commit 0fd8cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/rt/logging.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ pub struct StdErrLogger;
181181
impl Logger for StdErrLogger {
182182
fn log(&mut self, args: &fmt::Arguments) {
183183
if should_log_console() {
184-
fmt::write(self as &mut rt::io::Writer, args);
184+
fmt::writeln(self as &mut rt::io::Writer, args);
185185
}
186186
}
187187
}

0 commit comments

Comments
 (0)