Skip to content

Commit cc19dfa

Browse files
author
Lukas Markeffsky
committed
Add AsyncFn* to core prelude
1 parent ed43cbc commit cc19dfa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

library/core/src/prelude/common.rs

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

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

0 commit comments

Comments
 (0)