Update futures dependency

This commit is contained in:
Alex Crichton
2017-08-24 08:16:04 -07:00
parent 77d9a1aa4f
commit e8617ea1fc
6 changed files with 10 additions and 9 deletions
+1
View File
@@ -10,6 +10,7 @@
//! [low level details]: https://tokio.rs/docs/going-deeper-tokio/core-low-level/
#![deprecated(note = "moved to the `tokio-io` crate")]
#![allow(deprecated)]
use std::io;
+1 -1
View File
@@ -308,7 +308,7 @@ impl TcpStream {
Ok(tcp) => TcpStream::new(tcp, handle),
Err(e) => TcpStreamNewState::Error(e),
};
state.boxed()
Box::new(state)
}
/// Test whether this socket is ready to be read or not.
+1 -1
View File
@@ -583,7 +583,7 @@ impl Remote {
lp.notify(msg);
}
None => {
match mpsc::UnboundedSender::send(&self.tx, msg) {
match self.tx.unbounded_send(msg) {
Ok(()) => {}
// TODO: this error should punt upwards and we should