about summary refs log tree commit diff
path: root/library/std/src/prelude
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-11-04 17:23:05 +0000
committerMichael Goulet <michael@errs.io>2024-11-04 17:50:29 +0000
commit98b6e01c0d7e4e916ec15d805f498a7a0d51598e (patch)
tree38cb7e70d32645ca0cd608f2fa50d6922f3b86ad /library/std/src/prelude
parenta0d98ff0e5b6e1f2c63fd26f68484792621b235c (diff)
downloadrust-98b6e01c0d7e4e916ec15d805f498a7a0d51598e.tar.gz
rust-98b6e01c0d7e4e916ec15d805f498a7a0d51598e.zip
Add AsyncFn* to to the prelude in all editions
Diffstat (limited to 'library/std/src/prelude')
-rw-r--r--library/std/src/prelude/common.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/std/src/prelude/common.rs b/library/std/src/prelude/common.rs
index b231bd871b3..e4731280ffe 100644
--- a/library/std/src/prelude/common.rs
+++ b/library/std/src/prelude/common.rs
@@ -12,6 +12,9 @@ pub use crate::marker::{Send, Sized, Sync, Unpin};
 #[stable(feature = "rust1", since = "1.0.0")]
 #[doc(no_inline)]
 pub use crate::ops::{Drop, Fn, FnMut, FnOnce};
+#[unstable(feature = "async_closure", issue = "62290")]
+#[doc(no_inline)]
+pub use crate::ops::{AsyncFn, AsyncFnMut, AsyncFnOnce};
 
 // Re-exported functions
 #[stable(feature = "rust1", since = "1.0.0")]