From 98b6e01c0d7e4e916ec15d805f498a7a0d51598e Mon Sep 17 00:00:00 2001 From: Michael Goulet Date: Mon, 4 Nov 2024 17:23:05 +0000 Subject: [PATCH] Add AsyncFn* to to the prelude in all editions --- library/std/src/prelude/common.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/library/std/src/prelude/common.rs b/library/std/src/prelude/common.rs index b231bd871b3b4..e4731280ffe35 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")]