This commit is contained in:
Ada Alakbarova 2025-12-22 16:50:41 +01:00 committed by GitHub
parent e951f470d7
commit 3f8b25771d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1810,7 +1810,7 @@ pub enum ExprKind {
/// or a `gen` block (`gen move { ... }`).
///
/// The span is the "decl", which is the header before the body `{ }`
/// including the `asyng`/`gen` keywords and possibly `move`.
/// including the `async`/`gen` keywords and possibly `move`.
Gen(CaptureBy, Box<Block>, GenBlockKind, Span),
/// An await expression (`my_future.await`). Span is of await keyword.
Await(Box<Expr>, Span),