Rollup merge of #60325 - Centril:doc-ast-exprkind-type, r=oli-obk
Document ast::ExprKind::Type r? @oli-obk
This commit is contained in:
commit
634e2daaa5
1 changed files with 1 additions and 0 deletions
|
|
@ -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.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue