Skip to content

Commit fee0b67

Browse files
Rollup merge of rust-lang#44296 - zmanian:patch-1, r=steveklabnik
Minor documentation improvements for StmtKind Documentation for Semi and Marco StmtKinds. Wasn't obvious to me what these were when writing a lint recently.
2 parents 5c79f6d + af3536d commit fee0b67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libsyntax/ast.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -761,9 +761,9 @@ pub enum StmtKind {
761761

762762
/// Expr without trailing semi-colon.
763763
Expr(P<Expr>),
764-
764+
/// Expr with a trailing semi-colon.
765765
Semi(P<Expr>),
766-
766+
/// Macro.
767767
Mac(P<(Mac, MacStmtStyle, ThinVec<Attribute>)>),
768768
}
769769

0 commit comments

Comments
 (0)