Skip to content

Commit

Permalink
Allow incomplete_features warnings in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Aug 2, 2019
1 parent 396d527 commit 235f451
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions futures-util/src/compat/compat01as03.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -413,6 +414,7 @@ mod io {
///
/// ```
/// #![feature(async_await, impl_trait_in_bindings)]
/// # #![allow(incomplete_features)]
/// # futures::executor::block_on(async {
/// use futures::io::AsyncWriteExt;
/// use futures_util::compat::AsyncWrite01CompatExt;
Expand Down

0 comments on commit 235f451

Please sign in to comment.