diff options
author | Taiki Endo <te316e89@gmail.com> | 2019-08-21 12:07:16 +0900 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2019-08-20 20:07:16 -0700 |
commit | a791f4a758604768463d3ca2162b913dcea34c40 (patch) | |
tree | 80037a52d5249eee268d99aa84525f9c017e0aea | |
parent | 7e7a5147a3f5de83ee540ebaad0928183e61df2c (diff) |
chore: bump to newer nightly (#1485)
116 files changed, 3 insertions, 254 deletions
diff --git a/.cirrus.yml b/.cirrus.yml index 52f6255c..0b0bbc84 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -14,7 +14,7 @@ task: - pkg install -y curl - curl https://sh.rustup.rs -sSf --output rustup.sh # TODO: switch back to nightly - - sh rustup.sh -y --default-toolchain nightly-2019-08-10 + - sh rustup.sh -y --default-toolchain nightly-2019-08-21 - . $HOME/.cargo/env - rustup target add i686-unknown-freebsd - | @@ -55,8 +55,6 @@ an asynchronous application. A basic TCP echo server with Tokio: ```rust -#![feature(async_await)] - use tokio::net::TcpListener; use tokio::prelude::*; diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 6ab79556..7bad2ca9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -2,7 +2,7 @@ trigger: ["master", "std-future"] pr: ["master", "std-future"] variables: - nightly: nightly-2019-08-10 + nightly: nightly-2019-08-21 RUSTFLAGS: -Dwarnings jobs: diff --git a/rust-toolchain b/rust-toolchain index 54dbba0d..c4fd1274 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -nightly-2019-08-10 +nightly-2019-08-21 diff --git a/tokio-codec/src/length_delimited.rs b/tokio-codec/src/length_delimited.rs index 336ca144..830499ac 100644 --- a/tokio-codec/src/length_delimited.rs +++ b/tokio-codec/src/length_delimited.rs @@ -39,8 +39,6 @@ //! Specifically, given the following: //! //! ``` -//! #![feature(async_await)] -//! //! use tokio::codec::{Framed, LengthDelimitedCodec}; //! use tokio::prelude::*; //! diff --git a/tokio-codec/tests/framed.rs b/tokio-codec/tests/framed.rs index fd930890..53582fb3 100644 --- a/tokio-codec/tests/framed.rs +++ b/tokio-codec/tests/framed.rs @@ -1,4 +1,3 @@ -#![feature(async_await)] #![warn(rust_2018_idioms)] use tokio::prelude::*; diff --git a/tokio-codec/tests/framed_read.rs b/tokio-codec/tests/framed_read.rs index dc36d8b9..72c910ba 100644 --- a/tokio-codec/tests/framed_read.rs +++ b/tokio-codec/tests/framed_read.rs @@ -1,4 +1,3 @@ -#![feature(async_await)] #![warn(rust_2018_idioms)] use tokio::prelude::*; diff --git a/tokio-executor/src/executor.rs b/tokio-executor/src/executor.rs index c03367e3..3ca07f5f 100644 --- a/tokio-executor/src/executor.rs +++ b/tokio-executor/src/executor.rs @@ -49,8 +49,6 @@ use std::pin::Pin; /// # Examples /// /// ``` -/// #![feature(async_await)] -/// /// use tokio_executor::Executor; /// /// # fn docs(my_executor: &mut dyn Executor) { @@ -79,8 +77,6 @@ pub trait Executor { /// # Examples /// /// ``` - /// #![feature(async_await)] - /// /// use tokio_executor::Executor; /// /// # fn docs(my_executor: &mut dyn Executor) { @@ -110,8 +106,6 @@ pub trait Executor { /// # Examples /// /// ``` - /// #![feature(async_await)] - /// /// use tokio_executor::Executor; /// /// # fn docs(my_executor: &mut dyn Executor) { diff --git a/tokio-executor/src/global.rs b/tokio-executor/src/global.rs index bf4d9be3..81ea0af8 100644 --- a/tokio-executor/src/global.rs +++ b/tokio-executor/src/global.rs @@ -124,8 +124,6 @@ where /// # Examples /// /// ```no_run -/// #![feature(async_await)] -/// /// tokio::spawn(async { /// println!("running on the default executor"); /// }); diff --git a/tokio-executor/src/threadpool/blocking.rs b/tokio-executor/src/threadpool/blocking.rs index f68a337f..091a8392 100644 --- a/tokio-executor/src/threadpool/blocking.rs +++ b/tokio-executor/src/threadpool/blocking.rs @@ -80,8 +80,6 @@ pub struct BlockingError { /// that needs to be performed. /// /// ```rust -/// #![feature(async_await)] -/// /// use tokio_executor::threadpool::{ThreadPool, blocking}; /// /// use futures_util::future::poll_fn; diff --git a/tokio-executor/src/threadpool/builder.rs b/tokio-executor/src/threadpool/builder.rs index 7a7081e3..34d4c682 100644 --- a/tokio-executor/src/threadpool/builder.rs +++ b/tokio-executor/src/threadpool/builder.rs @@ -32,8 +32,6 @@ use std::time::Duration; /// # Examples /// |