Add the "promise" aliases to the async lang feature

This commit is contained in:
Yoshua Wuyts 2020-11-19 21:22:32 +01:00
parent fe982319aa
commit 48d5874914

View File

@ -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.