about summary refs log tree commit diff
path: root/src/librustdoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-01-17 12:02:07 -0800
committerbors <bors@rust-lang.org>2014-01-17 12:02:07 -0800
commit9bf85a250c93fbd5e65440bba6d300908fb08b9a (patch)
treeb51dbfa6246381cdd109b87737e9385e40981b95 /src/librustdoc
parent4098327b1fe1112ddf661b587be9eeec1d80adde (diff)
parent295b46fc08c8cc6da0a144cd90c401d5b26a1faf (diff)
downloadrust-9bf85a250c93fbd5e65440bba6d300908fb08b9a.tar.gz
rust-9bf85a250c93fbd5e65440bba6d300908fb08b9a.zip
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
Diffstat (limited to 'src/librustdoc')
-rw-r--r--src/librustdoc/html/render.rs4
-rw-r--r--src/librustdoc/lib.rs3
2 files changed, 2 insertions, 5 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs
index b9a36137db2..64328cdd7c3 100644
--- a/src/librustdoc/html/render.rs
+++ b/src/librustdoc/html/render.rs
@@ -36,10 +36,8 @@
 use std::fmt;
 use std::hashmap::{HashMap, HashSet};
 use std::local_data;
-use std::io::buffered::BufferedWriter;
 use std::io;
-use std::io::fs;
-use std::io::File;
+use std::io::{fs, File, BufferedWriter};
 use std::str;
 use std::vec;
 
diff --git a/src/librustdoc/lib.rs b/src/librustdoc/lib.rs
index 125af757dc7..a6bdb2250a6 100644
--- a/src/librustdoc/lib.rs
+++ b/src/librustdoc/lib.rs
@@ -21,8 +21,7 @@ extern mod extra;
 
 use std::local_data;
 use std::io;
-use std::io::File;
-use std::io::mem::MemWriter;
+use std::io::{File, MemWriter};
 use std::str;
 use extra::getopts;
 use extra::getopts::groups;