Skip to content

Commit 48d5874

Browse files
committed
Add the "promise" aliases to the async lang feature
1 parent fe98231 commit 48d5874

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/keyword_docs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2175,6 +2175,7 @@ mod where_keyword {}
21752175

21762176
// 2018 Edition keywords
21772177

2178+
#[doc(alias = "promise")]
21782179
#[doc(keyword = "async")]
21792180
//
21802181
/// Return a [`Future`] instead of blocking the current thread.

0 commit comments

Comments
 (0)