Add a comment.
Something that was non-obvious to me.
This commit is contained in:
parent
55cac26a9e
commit
219389360c
@ -972,7 +972,9 @@ pub fn is_by_value(self) -> bool {
|
||||
}
|
||||
}
|
||||
|
||||
/// 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