Rollup merge of #60325 - Centril:doc-ast-exprkind-type, r=oli-obk

Document ast::ExprKind::Type

r? @oli-obk
This commit is contained in:
Mazdak Farrokhzad 2019-04-28 14:17:11 +02:00 committed by GitHub
commit 634e2daaa5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
///