Skip to content

Commit 553bb18

Browse files
Add AsyncFn* to to the prelude in all editions
1 parent 5d892fb commit 553bb18

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

std/src/prelude/common.rs

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ pub use crate::marker::{Send, Sized, Sync, Unpin};
1212
#[stable(feature = "rust1", since = "1.0.0")]
1313
#[doc(no_inline)]
1414
pub use crate::ops::{Drop, Fn, FnMut, FnOnce};
15+
#[unstable(feature = "async_closure", issue = "62290")]
16+
#[doc(no_inline)]
17+
pub use crate::ops::{AsyncFn, AsyncFnMut, AsyncFnOnce};
1518

1619
// Re-exported functions
1720
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)