Remove unnecessary return statements.

This commit is contained in:
Corey Farwell 2016-09-07 21:30:11 -04:00
parent a9d24810be
commit 9fe1d8aeca

View File

@ -393,7 +393,7 @@ impl<'a> Read for &'a TcpStream {
if is_wouldblock(&r) {
self.io.need_read();
}
return r
r
}
}
@ -406,7 +406,7 @@ impl<'a> Write for &'a TcpStream {
if is_wouldblock(&r) {
self.io.need_write();
}
return r
r
}
fn flush(&mut self) -> io::Result<()> {
@ -417,7 +417,7 @@ impl<'a> Write for &'a TcpStream {
if is_wouldblock(&r) {
self.io.need_write();
}
return r
r
}
}