Rollup merge of #79211 - yoshuawuyts:future-doc-alias, r=Mark-Simulacrum

Add the "async" and "promise" doc aliases to `core::future::Future`

Adds the "async" and "promise" doc aliases to `core::future::Future`. This enables people who search for "async" or "promise" to find `Future`, which is Rust's core primitive for async programming. Thanks!
This commit is contained in:
Yuki Okushi 2020-12-19 15:16:01 +09:00 committed by GitHub
commit 60aad47c13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2196,6 +2196,7 @@ mod where_keyword {}
// 2018 Edition keywords
#[doc(alias = "promise")]
#[doc(keyword = "async")]
//
/// Return a [`Future`] instead of blocking the current thread.