1
Fork 0

rollup merge of #23919: alexcrichton/stabilize-io-error

Conflicts:
	src/libstd/fs/tempdir.rs
	src/libstd/io/error.rs
This commit is contained in:
Alex Crichton 2015-03-31 16:18:55 -07:00
commit 50b3ecf3bc
22 changed files with 108 additions and 72 deletions

View file

@ -35,7 +35,8 @@ pub fn cvt_gai(err: c_int) -> io::Result<()> {
.to_string()
};
Err(io::Error::new(io::ErrorKind::Other,
"failed to lookup address information", Some(detail)))
&format!("failed to lookup address information: {}",
detail)[..]))
}
impl Socket {