Skip to content

Commit 7717cf6

Browse files
committed
Fix incomplete_features warnings in examples
1 parent 396d527 commit 7717cf6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

futures-util/src/compat/compat01as03.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,7 @@ mod io {
384384
///
385385
/// ```
386386
/// #![feature(async_await, impl_trait_in_bindings)]
387+
/// # #![allow(incomplete_features)]
387388
/// # futures::executor::block_on(async {
388389
/// use futures::io::AsyncReadExt;
389390
/// use futures_util::compat::AsyncRead01CompatExt;
@@ -412,7 +413,7 @@ mod io {
412413
/// [`AsyncWrite`](futures_io::AsyncWrite).
413414
///
414415
/// ```
415-
/// #![feature(async_await, impl_trait_in_bindings)]
416+
/// #![feature(async_await)]
416417
/// # futures::executor::block_on(async {
417418
/// use futures::io::AsyncWriteExt;
418419
/// use futures_util::compat::AsyncWrite01CompatExt;

0 commit comments

Comments
 (0)