mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-20 00:00:08 +02:00
Update futures dependency
This commit is contained in:
@@ -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
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user