We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55cac26 commit 2193893Copy full SHA for 2193893
compiler/rustc_ast/src/ast.rs
@@ -972,7 +972,9 @@ impl UnOp {
972
}
973
974
975
-/// A statement
+/// A statement. No `attrs` or `tokens` fields because each `StmtKind` variant
976
+/// contains an AST node with those fields. (Except for `StmtKind::Empty`,
977
+/// which never has attrs or tokens)
978
#[derive(Clone, Encodable, Decodable, Debug)]
979
pub struct Stmt {
980
pub id: NodeId,
0 commit comments