From 68fe63d04c219967980c2b24bf3555208065ff81 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 6 Aug 2019 01:44:09 +0900 Subject: [PATCH] Fix incomplete_features warnings in examples --- futures-util/src/compat/compat01as03.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/futures-util/src/compat/compat01as03.rs b/futures-util/src/compat/compat01as03.rs index 24837ba6e6..9790ef5827 100644 --- a/futures-util/src/compat/compat01as03.rs +++ b/futures-util/src/compat/compat01as03.rs @@ -384,6 +384,7 @@ mod io { /// /// ``` /// #![feature(async_await, impl_trait_in_bindings)] + /// # #![allow(incomplete_features)] /// # futures::executor::block_on(async { /// use futures::io::AsyncReadExt; /// use futures_util::compat::AsyncRead01CompatExt; @@ -412,7 +413,7 @@ mod io { /// [`AsyncWrite`](futures_io::AsyncWrite). /// /// ``` - /// #![feature(async_await, impl_trait_in_bindings)] + /// #![feature(async_await)] /// # futures::executor::block_on(async { /// use futures::io::AsyncWriteExt; /// use futures_util::compat::AsyncWrite01CompatExt;