Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit cc19dfa

Browse files
author
Lukas Markeffsky
committedJan 21, 2025·
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

Lines changed: 3 additions & 0 deletions
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)
Please sign in to comment.