From dfe802b929699d8f0a30a669e55da6c7c9dad01d Mon Sep 17 00:00:00 2001 From: Mazdak Farrokhzad Date: Sat, 27 Apr 2019 12:06:02 +0200 Subject: [PATCH] Document ast::ExprKind::Type. --- src/libsyntax/ast.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 334fcfd74f357..a20bf91a6ad43 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1137,6 +1137,7 @@ pub enum ExprKind { Lit(Lit), /// A cast (e.g., `foo as f64`). Cast(P, P), + /// A type ascription (e.g., `42: usize`). Type(P, P), /// An `if` block, with an optional `else` block. ///