From 295b46fc08c8cc6da0a144cd90c401d5b26a1faf Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 15 Jan 2014 13:25:09 -0800 Subject: 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) --- src/libsyntax/print/pprust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/print') 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> { -- cgit 1.4.1-3-g733a5