@@ -46,8 +46,6 @@ use futures::task::{Context, Poll};
46
46
///
47
47
/// ## Examples
48
48
/// ```no_run
49
- /// #![feature(async_await)]
50
- ///
51
49
/// use futures::prelude::*;
52
50
/// use runtime::net::TcpStream;
53
51
///
@@ -85,7 +83,6 @@ impl TcpStream {
85
83
/// # Examples
86
84
///
87
85
/// ```no_run
88
- /// #![feature(async_await)]
89
86
/// use runtime::net::TcpStream;
90
87
///
91
88
/// # async fn connect_localhost() -> std::io::Result<()> {
@@ -105,7 +102,6 @@ impl TcpStream {
105
102
///
106
103
/// ## Examples
107
104
/// ```no_run
108
- /// #![feature(async_await)]
109
105
/// use runtime::net::TcpStream;
110
106
/// use std::net::{IpAddr, Ipv4Addr};
111
107
///
@@ -125,7 +121,6 @@ impl TcpStream {
125
121
///
126
122
/// ## Examples
127
123
/// ```no_run
128
- /// #![feature(async_await)]
129
124
/// use runtime::net::TcpStream;
130
125
/// use std::net::{IpAddr, Ipv4Addr};
131
126
///
@@ -151,8 +146,6 @@ impl TcpStream {
151
146
/// # Examples
152
147
///
153
148
/// ```no_run
154
- /// #![feature(async_await)]
155
- ///
156
149
/// use std::net::Shutdown;
157
150
/// use runtime::net::TcpStream;
158
151
///
@@ -291,8 +284,6 @@ impl fmt::Debug for ConnectFuture {
291
284
///
292
285
/// # Examples
293
286
/// ```ignore
294
- /// #![feature(async_await)]
295
- ///
296
287
/// use futures::prelude::*;
297
288
/// use runtime::net::TcpListener;
298
289
///
@@ -367,8 +358,6 @@ impl TcpListener {
367
358
/// # Examples
368
359
///
369
360
/// ```no_run
370
- /// #![feature(async_await)]
371
- ///
372
361
/// use runtime::net::TcpListener;
373
362
/// use std::net::{Ipv4Addr, SocketAddr, SocketAddrV4};
374
363
///
@@ -397,8 +386,6 @@ impl TcpListener {
397
386
/// ## Examples
398
387
///
399
388
/// ```no_run
400
- /// #![feature(async_await)]
401
- ///
402
389
/// use futures::prelude::*;
403
390
/// use runtime::net::TcpListener;
404
391
///
@@ -430,8 +417,6 @@ impl TcpListener {
430
417
/// ## Examples
431
418
///
432
419
/// ```no_run
433
- /// #![feature(async_await)]
434
- ///
435
420
/// use futures::prelude::*;
436
421
/// use runtime::net::TcpListener;
437
422
///
0 commit comments