Slice was changed to AsSlice in libstd

This commit is contained in:
Sean McArthur
2014-10-13 16:48:26 -07:00
parent 2f755a5694
commit e6329af74e
2 changed files with 3 additions and 5 deletions

View File

@@ -32,8 +32,8 @@ fn main() {
};
let mut res = req
.start().unwrap()
.send().unwrap();
.start().unwrap() // failure: Error writing Headers
.send().unwrap(); // failure: Error reading Response head.
println!("Response: {}", res.status);
println!("{}", res.headers);