Skip to content

Commit 235f451

Browse files
committed
Allow incomplete_features warnings in examples
1 parent 396d527 commit 235f451

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

futures-util/src/compat/compat01as03.rs

+2
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;
@@ -413,6 +414,7 @@ mod io {
413414
///
414415
/// ```
415416
/// #![feature(async_await, impl_trait_in_bindings)]
417+
/// # #![allow(incomplete_features)]
416418
/// # futures::executor::block_on(async {
417419
/// use futures::io::AsyncWriteExt;
418420
/// use futures_util::compat::AsyncWrite01CompatExt;

0 commit comments

Comments
 (0)