auto merge of #9609 : alexcrichton/rust/fix-logging-newline, r=catamorphism

Forgot to do this when I was refactoring logging :(
This commit is contained in:
bors 2013-09-29 17:56:13 -07:00
commit 0fd8cb07c1

View File

@ -181,7 +181,7 @@ pub struct StdErrLogger;
impl Logger for StdErrLogger {
fn log(&mut self, args: &fmt::Arguments) {
if should_log_console() {
fmt::write(self as &mut rt::io::Writer, args);
fmt::writeln(self as &mut rt::io::Writer, args);
}
}
}