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)
This commit is contained in:
parent
77eeddaa48
commit
295b46fc08
41 changed files with 204 additions and 180 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue