Skip to content

Commit

Permalink
Document ast::ExprKind::Type.
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Apr 27, 2019
1 parent cfeb917 commit dfe802b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libsyntax/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1137,6 +1137,7 @@ pub enum ExprKind {
Lit(Lit),
/// A cast (e.g., `foo as f64`).
Cast(P<Expr>, P<Ty>),
/// A type ascription (e.g., `42: usize`).
Type(P<Expr>, P<Ty>),
/// An `if` block, with an optional `else` block.
///
Expand Down

0 comments on commit dfe802b

Please sign in to comment.