summaryrefslogtreecommitdiffstats
path: root/tokio-timer
diff options
context:
space:
mode:
authorTaiki Endo <te316e89@gmail.com>2019-08-21 12:07:16 +0900
committerCarl Lerche <me@carllerche.com>2019-08-20 20:07:16 -0700
commita791f4a758604768463d3ca2162b913dcea34c40 (patch)
tree80037a52d5249eee268d99aa84525f9c017e0aea /tokio-timer
parent7e7a5147a3f5de83ee540ebaad0928183e61df2c (diff)
chore: bump to newer nightly (#1485)
Diffstat (limited to 'tokio-timer')
-rw-r--r--tokio-timer/src/interval.rs2
-rw-r--r--tokio-timer/src/lib.rs1
-rw-r--r--tokio-timer/src/timeout.rs4
-rw-r--r--tokio-timer/tests/delay.rs1
-rw-r--r--tokio-timer/tests/hammer.rs1
-rw-r--r--tokio-timer/tests/interval.rs1
-rw-r--r--tokio-timer/tests/timeout.rs1
7 files changed, 0 insertions, 11 deletions
diff --git a/tokio-timer/src/interval.rs b/tokio-timer/src/interval.rs
index ea5ca7d4..55c5ea3b 100644
--- a/tokio-timer/src/interval.rs
+++ b/tokio-timer/src/interval.rs
@@ -77,8 +77,6 @@ impl Interval {
/// # Examples
///
/// ```
- /// #![feature(async_await)]
- ///
/// use tokio::timer::Interval;
///
/// use std::time::Duration;
diff --git a/tokio-timer/src/lib.rs b/tokio-timer/src/lib.rs
index be03d2d1..1e7a1a58 100644
--- a/tokio-timer/src/lib.rs
+++ b/tokio-timer/src/lib.rs
@@ -6,7 +6,6 @@
unreachable_pub
)]
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
-#![feature(async_await)]
//! Utilities for tracking time.
//!
diff --git a/tokio-timer/src/timeout.rs b/tokio-timer/src/timeout.rs
index 88816da4..250dc828 100644
--- a/tokio-timer/src/timeout.rs
+++ b/tokio-timer/src/timeout.rs
@@ -32,8 +32,6 @@ use std::time::{Duration, Instant};
/// example:
///
/// ```rust,no_run
-/// #![feature(async_await)]
-///
/// use tokio::prelude::*;
/// use tokio::sync::mpsc;
///
@@ -96,8 +94,6 @@ impl<T> Timeout<T> {
/// Create a new `Timeout` set to expire in 10 milliseconds.
///
/// ```rust
- /// #![feature(async_await)]
- ///
/// use tokio::timer::Timeout;
/// use tokio::sync::oneshot;
///
diff --git a/tokio-timer/tests/delay.rs b/tokio-timer/tests/delay.rs
index 5758926f..17b7fcf8 100644
--- a/tokio-timer/tests/delay.rs
+++ b/tokio-timer/tests/delay.rs
@@ -1,5 +1,4 @@
#![warn(rust_2018_idioms)]
-#![feature(async_await)]
use std::time::{Duration, Instant};
diff --git a/tokio-timer/tests/hammer.rs b/tokio-timer/tests/hammer.rs
index c61019c7..eaf26c1f 100644
--- a/tokio-timer/tests/hammer.rs
+++ b/tokio-timer/tests/hammer.rs
@@ -1,5 +1,4 @@
#![warn(rust_2018_idioms)]
-#![feature(async_await)]
use tokio_executor::current_thread::CurrentThread;
use tokio_executor::park::{Park, Unpark, UnparkThread};
diff --git a/tokio-timer/tests/interval.rs b/tokio-timer/tests/interval.rs
index 2f6f84aa..6f00a0a6 100644
--- a/tokio-timer/tests/interval.rs
+++ b/tokio-timer/tests/interval.rs
@@ -1,5 +1,4 @@
#![warn(rust_2018_idioms)]
-#![feature(async_await)]
use tokio_test::task::MockTask;
use tokio_test::{assert_pending, assert_ready_eq, clock};
diff --git a/tokio-timer/tests/timeout.rs b/tokio-timer/tests/timeout.rs
index df4cfde8..17b2812e 100644
--- a/tokio-timer/tests/timeout.rs
+++ b/tokio-timer/tests/timeout.rs
@@ -1,5 +1,4 @@
#![warn(rust_2018_idioms)]
-#![feature(async_await)]
use tokio_sync::oneshot;
use tokio_test::task::MockTask;