diff options
Diffstat (limited to 'src/libcore/logging.rs')
| -rw-r--r-- | src/libcore/logging.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/logging.rs b/src/libcore/logging.rs index d4f3c0ea272..958d1ac56ea 100644 --- a/src/libcore/logging.rs +++ b/src/libcore/logging.rs @@ -32,7 +32,7 @@ pub fn console_off() { #[cfg(notest)] #[lang="log_type"] pub fn log_type<T>(level: u32, object: &T) { - let bytes = do io::with_bytes_writer() |writer| { + let bytes = do io::with_bytes_writer |writer| { repr::write_repr(writer, object); }; unsafe { |
