diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-01-15 13:25:09 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-01-17 10:00:47 -0800 |
| commit | 295b46fc08c8cc6da0a144cd90c401d5b26a1faf (patch) | |
| tree | 4ee01bdee1d5d46215b745454c5aee7a04256c8c /src/librustdoc/html/render.rs | |
| parent | 77eeddaa481fa083dfa857e5d7dd7f5ab784a9f1 (diff) | |
| download | rust-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/librustdoc/html/render.rs')
| -rw-r--r-- | src/librustdoc/html/render.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustdoc/html/render.rs b/src/librustdoc/html/render.rs index 74f94ba00f5..007a4502a1a 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; |
