summary refs log tree commit diff
path: root/src/libsyntax/print
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-01-15 13:25:09 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-01-17 10:00:47 -0800
commit295b46fc08c8cc6da0a144cd90c401d5b26a1faf (patch)
tree4ee01bdee1d5d46215b745454c5aee7a04256c8c /src/libsyntax/print
parent77eeddaa481fa083dfa857e5d7dd7f5ab784a9f1 (diff)
downloadrust-295b46fc08c8cc6da0a144cd90c401d5b26a1faf.tar.gz
rust-295b46fc08c8cc6da0a144cd90c401d5b26a1faf.zip
Tweak the interface of std::io
* Reexport io::mem and io::buffered structs directly under io, make mem/buffered
  private modules
* Remove with_mem_writer
* Remove DEFAULT_CAPACITY and use DEFAULT_BUF_SIZE (in io::buffered)
Diffstat (limited to 'src/libsyntax/print')
-rw-r--r--src/libsyntax/print/pprust.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/print/pprust.rs b/src/libsyntax/print/pprust.rs
index b6db827f7b8..3275ba2cef5 100644
--- a/src/libsyntax/print/pprust.rs
+++ b/src/libsyntax/print/pprust.rs
@@ -32,7 +32,7 @@ use std::cell::RefCell;
 use std::char;
 use std::str;
 use std::io;
-use std::io::mem::MemWriter;
+use std::io::MemWriter;
 
 // The &mut State is stored here to prevent recursive type.
 pub enum AnnNode<'a,'b> {