Skip to content

Commit

Permalink
Rollup merge of rust-lang#44296 - zmanian:patch-1, r=steveklabnik
Browse files Browse the repository at this point in the history
Minor documentation improvements for StmtKind

Documentation for Semi and Marco StmtKinds.

Wasn't obvious to me what these were when writing a lint recently.
  • Loading branch information
Mark-Simulacrum authored Sep 7, 2017
2 parents 5c79f6d + af3536d commit fee0b67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libsyntax/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,9 +761,9 @@ pub enum StmtKind {

/// Expr without trailing semi-colon.
Expr(P<Expr>),

/// Expr with a trailing semi-colon.
Semi(P<Expr>),

/// Macro.
Mac(P<(Mac, MacStmtStyle, ThinVec<Attribute>)>),
}

Expand Down

0 comments on commit fee0b67

Please sign in to comment.