rollup merge of #23919: alexcrichton/stabilize-io-error
Conflicts: src/libstd/fs/tempdir.rs src/libstd/io/error.rs
This commit is contained in:
commit
50b3ecf3bc
22 changed files with 108 additions and 72 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue