diff options
| author | bors <bors@rust-lang.org> | 2013-09-29 17:56:13 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-09-29 17:56:13 -0700 |
| commit | 0fd8cb07c1fb1547ae50b5d3732e643286aff419 (patch) | |
| tree | 79bb68cb60b9e6870adc59cb6965699e78def58e /src/libstd/rt | |
| parent | 727d4c306c0a14f9d80f94231fd0e520f62fe143 (diff) | |
| parent | c687f6fa92312ef05341f9da2ac261634f44ba56 (diff) | |
| download | rust-0fd8cb07c1fb1547ae50b5d3732e643286aff419.tar.gz rust-0fd8cb07c1fb1547ae50b5d3732e643286aff419.zip | |
auto merge of #9609 : alexcrichton/rust/fix-logging-newline, r=catamorphism
Forgot to do this when I was refactoring logging :(
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/logging.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/logging.rs b/src/libstd/rt/logging.rs index abbcd27e8ca..910c1c70c34 100644 --- a/src/libstd/rt/logging.rs +++ b/src/libstd/rt/logging.rs @@ -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); } } } |
