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)]
|
#[derive(Clone, Encodable, Decodable, Debug)]
|
||||||
pub struct Stmt {
|
pub struct Stmt {
|
||||||
pub id: NodeId,
|
pub id: NodeId,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user