Skip to content

Commit

Permalink
Add AsyncFn* to to the prelude in all editions
Browse files Browse the repository at this point in the history
  • Loading branch information
compiler-errors committed Nov 4, 2024
1 parent a0d98ff commit 98b6e01
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/std/src/prelude/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 98b6e01

Please sign in to comment.