summaryrefslogtreecommitdiffstats
path: root/tokio-io/src/io/shutdown.rs
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2019-05-14 10:27:36 -0700
committerGitHub <noreply@github.com>2019-05-14 10:27:36 -0700
commitcb4aea394e6851ae8cc45a68beeaf2c93cc9a0c0 (patch)
tree2158eab230c8717d3b35717e50f14fda6ca0edf1 /tokio-io/src/io/shutdown.rs
parent79d88200500f6e6c9970e1ad26469276c1a2f71f (diff)
Update Tokio to Rust 2018 (#1082)
Diffstat (limited to 'tokio-io/src/io/shutdown.rs')
-rw-r--r--tokio-io/src/io/shutdown.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/tokio-io/src/io/shutdown.rs b/tokio-io/src/io/shutdown.rs
index d963a813..a7e092c0 100644
--- a/tokio-io/src/io/shutdown.rs
+++ b/tokio-io/src/io/shutdown.rs
@@ -1,9 +1,7 @@
+use crate::AsyncWrite;
+use futures::{try_ready, Async, Future, Poll};
use std::io;
-use futures::{Async, Future, Poll};
-
-use AsyncWrite;
-
/// A future used to fully shutdown an I/O object.
///
/// Resolves to the underlying I/O object once the shutdown operation is