Update keywords.md

pull/1342/head
donjuanplatinum 1 year ago committed by GitHub
parent a0c941edb3
commit ce86dcdc82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,7 +5,7 @@
### 目前正在使用的关键字
如下关键字目前有对应其描述的功能。
- `SelfTy` - 'trait' 或 'impl' 块中的实现类型,或类型定义中的当前类型。
- `SelfTy` - `trait``impl` 块中的实现类型,或类型定义中的当前类型。
- `as` - 强制类型转换,或`use` 和 `extern crate`包和模块引入语句中的重命名
- `async` - 返回一个 Future 而不是阻塞当前线程
- `await` - 暂停执行直到 Future 的结果就绪

Loading…
Cancel
Save