about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLukas Markeffsky <@>2025-01-22 00:20:54 +0100
committerLukas Markeffsky <@>2025-01-22 00:20:54 +0100
commitcc19dfa125e280545e6e599f1aaf27ffb0c55ffd (patch)
tree6becfb3e95bd7129915137a9228d17d3bb5acd4b
parented43cbcb882e7c06870abdd9305dc1f17eb9bab9 (diff)
downloadrust-cc19dfa125e280545e6e599f1aaf27ffb0c55ffd.tar.gz
rust-cc19dfa125e280545e6e599f1aaf27ffb0c55ffd.zip
Add `AsyncFn*` to core prelude
-rw-r--r--library/core/src/prelude/common.rs3
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")]