提交 0fd8cb07 编写于 作者: B bors

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

Forgot to do this when I was refactoring logging :(
......@@ -181,7 +181,7 @@ pub trait Logger {
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);
}
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册