chore: bump to newer nightly (#1485)

This commit is contained in:
Taiki Endo
2019-08-20 20:07:16 -07:00
committed by Carl Lerche
parent 7e7a5147a3
commit a791f4a758
116 changed files with 3 additions and 254 deletions
-2
View File
@@ -21,8 +21,6 @@
//! Let's start with a basic example, establishing a TCP connection.
//!
//! ```
//! #![feature(async_await)]
//!
//! use tokio::net::TcpStream;
//!
//! # async fn process<T>(t: T) {}
-1
View File
@@ -6,7 +6,6 @@
unreachable_pub
)]
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
#![feature(async_await)]
//! Event loop that drives Tokio I/O resources.
//!
-10
View File
@@ -12,8 +12,6 @@
//! for it complete.
//!
//! ```no_run
//! #![feature(async_await)]
//!
//! use tokio_net::process::Command;
//!
//! #[tokio::main]
@@ -37,8 +35,6 @@
//! world` but we also capture its output.
//!
//! ```no_run
//! #![feature(async_await)]
//!
//! use tokio_net::process::Command;
//!
//! #[tokio::main]
@@ -59,8 +55,6 @@
//! We can also read input line by line.
//!
//! ```no_run
//! #![feature(async_await)]
//!
//! use futures_util::stream::StreamExt;
//! use std::process::{Stdio};
//! use tokio::codec::{FramedRead, LinesCodec};
@@ -463,7 +457,6 @@ impl Command {
/// Basic usage:
///
/// ```no_run
/// #![feature(async_await)]
/// use tokio_net::process::Command;
///
/// async fn run_ls() -> std::process::ExitStatus {
@@ -509,7 +502,6 @@ impl Command {
/// Basic usage:
///
/// ```no_run
/// #![feature(async_await)]
/// use tokio_net::process::Command;
///
/// async fn run_ls() -> std::process::ExitStatus {
@@ -558,7 +550,6 @@ impl Command {
/// Basic usage:
///
/// ```no_run
/// #![feature(async_await)]
/// use tokio_net::process::Command;
///
/// async fn run_ls() {
@@ -754,7 +745,6 @@ impl Child {
/// > `Child` instance into an event loop as an alternative to this method.
///
/// ```no_run
/// # #![feature(async_await)]
/// # use tokio_net::process::Command;
///
/// # #[tokio::main]
-3
View File
@@ -17,8 +17,6 @@
//! Print out all ctrl-C notifications received
//!
//! ```rust,no_run
//! #![feature(async_await)]
//!
//! use tokio_net::signal;
//!
//! use futures_util::future;
@@ -45,7 +43,6 @@
//! Wait for SIGHUP on Unix
//!
//! ```rust,no_run
//! #![feature(async_await)]
//! # #[cfg(unix)] {
//!
//! use tokio_net::signal::{self, unix::{signal, SignalKind}};
-4
View File
@@ -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;
///
-36
View File
@@ -34,8 +34,6 @@ use std::time::Duration;
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use tokio::prelude::*;
/// use std::error::Error;
@@ -81,8 +79,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use tokio::prelude::*;
/// use std::error::Error;
@@ -182,8 +178,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -203,8 +197,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -243,8 +235,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use tokio::prelude::*;
/// use std::error::Error;
@@ -282,8 +272,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use tokio::prelude::*;
/// use std::error::Error;
@@ -315,8 +303,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -343,8 +329,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -369,8 +353,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -394,8 +376,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -429,8 +409,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -454,8 +432,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -481,8 +457,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -514,8 +488,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -540,8 +512,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -565,8 +535,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -592,8 +560,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///
@@ -624,8 +590,6 @@ impl TcpStream {
/// # Examples
///
/// ```no_run
/// #![feature(async_await)]
///
/// use tokio::net::TcpStream;
/// use std::net::SocketAddr;
///