mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
Add a comment.
Something that was non-obvious to me.
This commit is contained in:
parent
55cac26a9e
commit
219389360c
@ -972,7 +972,9 @@ impl UnOp {
|
||||
}
|
||||
}
|
||||
|
||||
/// A statement
|
||||
/// A statement. No `attrs` or `tokens` fields because each `StmtKind` variant
|
||||
/// contains an AST node with those fields. (Except for `StmtKind::Empty`,
|
||||
/// which never has attrs or tokens)
|
||||
#[derive(Clone, Encodable, Decodable, Debug)]
|
||||
pub struct Stmt {
|
||||
pub id: NodeId,
|
||||
|
Loading…
Reference in New Issue
Block a user