mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-26 14:43:24 +00:00
Add the "promise" aliases to the async
lang feature
This commit is contained in:
parent
fe982319aa
commit
48d5874914
@ -2175,6 +2175,7 @@ mod where_keyword {}
|
||||
|
||||
// 2018 Edition keywords
|
||||
|
||||
#[doc(alias = "promise")]
|
||||
#[doc(keyword = "async")]
|
||||
//
|
||||
/// Return a [`Future`] instead of blocking the current thread.
|
||||
|
Loading…
Reference in New Issue
Block a user