fix(rustup): update io import, Writer::write
Make it build with the latest rust-nightly (2015-01-27) Renamed io import to old_io. Renamed Writer::write to Writer::write_all
This commit is contained in:
committed by
Sean McArthur
parent
537d691d61
commit
f606b6039d
@@ -1,6 +1,6 @@
|
||||
//! Client Responses
|
||||
use std::num::FromPrimitive;
|
||||
use std::io::{BufferedReader, IoResult};
|
||||
use std::old_io::{BufferedReader, IoResult};
|
||||
|
||||
use header;
|
||||
use header::{ContentLength, TransferEncoding};
|
||||
@@ -97,7 +97,7 @@ impl Reader for Response {
|
||||
mod tests {
|
||||
use std::borrow::Cow::Borrowed;
|
||||
use std::boxed::BoxAny;
|
||||
use std::io::BufferedReader;
|
||||
use std::old_io::BufferedReader;
|
||||
|
||||
use header::Headers;
|
||||
use header::TransferEncoding;
|
||||
|
||||
Reference in New Issue
Block a user