summaryrefslogtreecommitdiffstats
path: root/tokio-net/src/tcp/listener.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tokio-net/src/tcp/listener.rs')
-rw-r--r--tokio-net/src/tcp/listener.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/tokio-net/src/tcp/listener.rs b/tokio-net/src/tcp/listener.rs
index 14708610..8a064b7a 100644
--- a/tokio-net/src/tcp/listener.rs
+++ b/tokio-net/src/tcp/listener.rs
@@ -21,8 +21,6 @@ use std::task::{Context, Poll};
/// # Examples
///
/// ```no_run
-/// #![feature(async_await)]
-///
/// use tokio::net::TcpListener;
/// use std::error::Error;
/// # async fn process_socket<T>(socket: T) {}
@@ -74,8 +72,6 @@ impl TcpListener {
/// # Examples
///
/// ```
- /// #![feature(async_await)]
- ///
/// # async fn dox() -> Result<(), Box<dyn std::error::Error>> {
/// use tokio::net::TcpListener;
///