From 48d5874914083e920a8500e860d01d1757701283 Mon Sep 17 00:00:00 2001 From: Yoshua Wuyts Date: Thu, 19 Nov 2020 21:22:32 +0100 Subject: [PATCH] Add the "promise" aliases to the `async` lang feature --- library/std/src/keyword_docs.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/std/src/keyword_docs.rs b/library/std/src/keyword_docs.rs index b990b78570393..54f4eb22d6a1c 100644 --- a/library/std/src/keyword_docs.rs +++ b/library/std/src/keyword_docs.rs @@ -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.