auto merge of #11598 : alexcrichton/rust/io-export, r=brson

* 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)

cc #11119
This commit is contained in:
bors
2014-01-17 12:02:07 -08:00
41 changed files with 204 additions and 180 deletions

View File

@@ -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> {