diff options
| author | Lukas Markeffsky <@> | 2025-01-22 00:20:54 +0100 |
|---|---|---|
| committer | Lukas Markeffsky <@> | 2025-01-22 00:20:54 +0100 |
| commit | cc19dfa125e280545e6e599f1aaf27ffb0c55ffd (patch) | |
| tree | 6becfb3e95bd7129915137a9228d17d3bb5acd4b | |
| parent | ed43cbcb882e7c06870abdd9305dc1f17eb9bab9 (diff) | |
| download | rust-cc19dfa125e280545e6e599f1aaf27ffb0c55ffd.tar.gz rust-cc19dfa125e280545e6e599f1aaf27ffb0c55ffd.zip | |
Add `AsyncFn*` to core prelude
| -rw-r--r-- | library/core/src/prelude/common.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/library/core/src/prelude/common.rs b/library/core/src/prelude/common.rs index e38ef1e147c..8b116cecb52 100644 --- a/library/core/src/prelude/common.rs +++ b/library/core/src/prelude/common.rs @@ -12,6 +12,9 @@ pub use crate::marker::{Copy, Send, Sized, Sync, Unpin}; #[stable(feature = "core_prelude", since = "1.4.0")] #[doc(no_inline)] pub use crate::ops::{Drop, Fn, FnMut, FnOnce}; +#[stable(feature = "async_closure", since = "1.85.0")] +#[doc(no_inline)] +pub use crate::ops::{AsyncFn, AsyncFnMut, AsyncFnOnce}; // Re-exported functions #[stable(feature = "core_prelude", since = "1.4.0")] |
