diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-29 12:39:49 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-29 12:39:49 -0700 |
| commit | c687f6fa92312ef05341f9da2ac261634f44ba56 (patch) | |
| tree | 4fd97e4199559f1f995d2d1e49fd1b1077c61f54 /src/libstd/rt | |
| parent | 9883a6250b61eb4bb715684f9b25304f4f0d437e (diff) | |
| download | rust-c687f6fa92312ef05341f9da2ac261634f44ba56.tar.gz rust-c687f6fa92312ef05341f9da2ac261634f44ba56.zip | |
Put a newline after each logging message
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); } } } |
