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
-1
View File
@@ -6,7 +6,6 @@
unreachable_pub
)]
#![doc(test(no_crate_inject, attr(deny(rust_2018_idioms))))]
#![feature(async_await)]
//! Asynchronous synchronization primitives.
//!
-2
View File
@@ -8,8 +8,6 @@
//! This allows you to do something along the lines of:
//!
//! ```rust,no_run
//! #![feature(async_await)]
//!
//! use tokio::sync::Lock;
//!
//! #[tokio::main]
-8
View File
@@ -82,8 +82,6 @@ pub struct RecvError(());
/// # Examples
///
/// ```rust
/// #![feature(async_await)]
///
/// use tokio::sync::mpsc;
///
/// #[tokio::main]
@@ -132,8 +130,6 @@ impl<T> Receiver<T> {
/// # Examples
///
/// ```
/// #![feature(async_await)]
///
/// use tokio::sync::mpsc;
///
/// #[tokio::main]
@@ -152,8 +148,6 @@ impl<T> Receiver<T> {
/// Values are buffered:
///
/// ```
/// #![feature(async_await)]
///
/// use tokio::sync::mpsc;
///
/// #[tokio::main]
@@ -221,8 +215,6 @@ impl<T> Sender<T> {
/// previously sent value was received.
///
/// ```rust
/// #![feature(async_await)]
///
/// use tokio::sync::mpsc;
///
/// #[tokio::main]
-4
View File
@@ -100,8 +100,6 @@ impl<T> UnboundedReceiver<T> {
/// # Examples
///
/// ```
/// #![feature(async_await)]
///
/// use tokio::sync::mpsc;
///
/// #[tokio::main]
@@ -120,8 +118,6 @@ impl<T> UnboundedReceiver<T> {
/// Values are buffered:
///
/// ```
/// #![feature(async_await)]
///
/// use tokio::sync::mpsc;
///
/// #[tokio::main]
-4
View File
@@ -93,8 +93,6 @@ struct State(usize);
/// # Examples
///
/// ```
/// #![feature(async_await)]
///
/// use tokio::sync::oneshot;
///
/// #[tokio::main]
@@ -208,8 +206,6 @@ impl<T> Sender<T> {
/// # Examples
///
/// ```
/// #![feature(async_await)]
///
/// use tokio::sync::oneshot;
///
/// #[tokio::main]
-4
View File
@@ -18,8 +18,6 @@
//! # Examples
//!
//! ```
//! #![feature(async_await)]
//!
//! use tokio::sync::watch;
//!
//! # async fn dox() -> Result<(), Box<dyn std::error::Error>> {
@@ -171,8 +169,6 @@ const CLOSED: usize = 1;
/// # Examples
///
/// ```
/// #![feature(async_await)]
///
/// use tokio::sync::watch;
///
/// # async fn dox() -> Result<(), Box<dyn std::error::Error>> {