Rustfmt
This commit is contained in:
parent
a31acdbb93
commit
11129aa521
|
|
@ -101,7 +101,7 @@ unsafe extern "C" fn bread<S: Read>(bio: *mut BIO, buf: *mut c_char, len: c_int)
|
||||||
fn retriable_error(err: &io::Error) -> bool {
|
fn retriable_error(err: &io::Error) -> bool {
|
||||||
match err.kind() {
|
match err.kind() {
|
||||||
io::ErrorKind::WouldBlock | io::ErrorKind::NotConnected => true,
|
io::ErrorKind::WouldBlock | io::ErrorKind::NotConnected => true,
|
||||||
_ => false
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1240,7 +1240,7 @@ impl SslStream<::std::net::TcpStream> {
|
||||||
Ok(SslStream {
|
Ok(SslStream {
|
||||||
ssl: self.ssl.clone(),
|
ssl: self.ssl.clone(),
|
||||||
_method: self._method.clone(),
|
_method: self._method.clone(),
|
||||||
_p: PhantomData
|
_p: PhantomData,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue