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 /tokio-fs | |
parent | 7e7a5147a3f5de83ee540ebaad0928183e61df2c (diff) |
chore: bump to newer nightly (#1485)
Diffstat (limited to 'tokio-fs')
-rw-r--r-- | tokio-fs/examples/std-echo.rs | 1 | ||||
-rw-r--r-- | tokio-fs/src/file.rs | 24 | ||||
-rw-r--r-- | tokio-fs/src/lib.rs | 1 | ||||
-rw-r--r-- | tokio-fs/src/read.rs | 2 | ||||
-rw-r--r-- | tokio-fs/src/read_dir.rs | 8 | ||||
-rw-r--r-- | tokio-fs/src/write.rs | 2 | ||||
-rw-r--r-- | tokio-fs/tests/dir.rs | 1 | ||||
-rw-r--r-- | tokio-fs/tests/file.rs | 1 | ||||
-rw-r--r-- | tokio-fs/tests/link.rs | 1 |
9 files changed, 0 insertions, 41 deletions
diff --git a/tokio-fs/examples/std-echo.rs b/tokio-fs/examples/std-echo.rs index 5a46e352..3b0086b9 100644 --- a/tokio-fs/examples/std-echo.rs +++ b/tokio-fs/examples/std-echo.rs @@ -1,5 +1,4 @@ //! Echo everything received on STDIN to STDOUT and STDERR. -#![feature(async_await)] use futures_util::{FutureExt, SinkExt, StreamExt, TryFutureExt}; diff --git a/tokio-fs/src/file.rs b/tokio-fs/src/file.rs index 43b927ec..238dd34f 100644 --- a/tokio-fs/src/file.rs +++ b/tokio-fs/src/file.rs @@ -32,8 +32,6 @@ use std::task::Poll; /// Create a new file and asynchronously write bytes to it: /// /// ```no_run -/// #![feature(async_await)] -/// /// use tokio::fs::File; /// use tokio::prelude::*; /// @@ -47,8 +45,6 @@ use std::task::Poll; /// Read the contents of a file into a buffer /// /// ```no_run -/// #![feature(async_await)] -/// /// use tokio::fs::File; /// use tokio::prelude::*; /// @@ -83,8 +79,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// use tokio::prelude::*; /// @@ -127,8 +121,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// use tokio::prelude::*; /// @@ -168,8 +160,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// use tokio::prelude::*; /// @@ -196,8 +186,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// use tokio::prelude::*; /// @@ -224,8 +212,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// use tokio::prelude::*; /// @@ -255,8 +241,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// use tokio::prelude::*; /// @@ -276,8 +260,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// /// # async fn dox() -> std::io::Result<()> { @@ -299,8 +281,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// /// # async fn dox() -> std::io::Result<()> { @@ -333,8 +313,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// /// # async fn dox() -> std::io::Result<()> { @@ -360,8 +338,6 @@ impl File { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs::File; /// /// # async fn dox() -> std::io::Result<()> { diff --git a/tokio-fs/src/lib.rs b/tokio-fs/src/lib.rs index 7f445ca0..efd07e9c 100644 --- a/tokio-fs/src/lib.rs +++ b/tokio-fs/src/lib.rs @@ -6,7 +6,6 @@ unreachable_pub )] #![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))] -#![feature(async_await)] //! Asynchronous file and standard stream adaptation. //! diff --git a/tokio-fs/src/read.rs b/tokio-fs/src/read.rs index 4b2cf05a..3f496fd6 100644 --- a/tokio-fs/src/read.rs +++ b/tokio-fs/src/read.rs @@ -12,8 +12,6 @@ use std::{io, path::Path}; /// # Examples /// /// ```no_run -/// #![feature(async_await)] -/// /// use tokio::fs; /// /// # async fn dox() -> std::io::Result<()> { diff --git a/tokio-fs/src/read_dir.rs b/tokio-fs/src/read_dir.rs index f3f12ace..393574b1 100644 --- a/tokio-fs/src/read_dir.rs +++ b/tokio-fs/src/read_dir.rs @@ -93,8 +93,6 @@ impl DirEntry { /// # Examples /// /// ```no_run - /// #![feature(async_await)] - /// /// use tokio::fs; /// use tokio::prelude::*; /// @@ -128,8 +126,6 @@ impl DirEntry { /// # Examples /// /// ``` - /// #![feature(async_await)] - /// /// use tokio::fs; /// use tokio::prelude::*; /// @@ -161,8 +157,6 @@ impl DirEntry { /// # Examples /// /// ``` - /// #![feature(async_await)] - /// /// use tokio::fs; /// use tokio::prelude::*; /// @@ -200,8 +194,6 @@ impl DirEntry { /// # Examples /// /// ``` - /// #![feature(async_await)] - /// /// use tokio::fs; /// use tokio::prelude::*; /// diff --git a/tokio-fs/src/write.rs b/tokio-fs/src/write.rs index 1db4a0a3..82e1607a 100644 --- a/tokio-fs/src/write.rs +++ b/tokio-fs/src/write.rs @@ -12,8 +12,6 @@ use std::{io, path::Path}; /// # Examples /// /// ```no_run -/// #![feature(async_await)] -/// /// use tokio::fs; /// /// # async fn dox() -> std::io::Result<()> { diff --git a/tokio-fs/tests/dir.rs b/tokio-fs/tests/dir.rs index 48242d5a..6d7f7977 100644 --- a/tokio-fs/tests/dir.rs +++ b/tokio-fs/tests/dir.rs @@ -1,5 +1,4 @@ #![warn(rust_2018_idioms)] -#![feature(async_await)] use futures_util::future; use futures_util::try_stream::TryStreamExt; diff --git a/tokio-fs/tests/file.rs b/tokio-fs/tests/file.rs index 1a2c89f1..05e186f4 100644 --- a/tokio-fs/tests/file.rs +++ b/tokio-fs/tests/file.rs @@ -1,5 +1,4 @@ #![warn(rust_2018_idioms)] -#![feature(async_await)] use rand::{distributions, thread_rng, Rng}; use std::fs; diff --git a/tokio-fs/tests/link.rs b/tokio-fs/tests/link.rs index 4350eac6..f162684b 100644 --- a/tokio-fs/tests/link.rs +++ b/tokio-fs/tests/link.rs @@ -1,5 +1,4 @@ #![warn(rust_2018_idioms)] -#![feature(async_await)] use std::fs; use std::io::prelude::*; |