Fix wrong comment in rustc_hir/src/hir.rs
This commit is contained in:
parent
d7f9e81650
commit
0b6b72e198
@ -1960,7 +1960,7 @@ pub enum ExprKind<'hir> {
|
|||||||
Lit(&'hir Lit),
|
Lit(&'hir Lit),
|
||||||
/// A cast (e.g., `foo as f64`).
|
/// A cast (e.g., `foo as f64`).
|
||||||
Cast(&'hir Expr<'hir>, &'hir Ty<'hir>),
|
Cast(&'hir Expr<'hir>, &'hir Ty<'hir>),
|
||||||
/// A type reference (e.g., `Foo`).
|
/// A type ascription (e.g., `x: Foo`). See RFC 3307.
|
||||||
Type(&'hir Expr<'hir>, &'hir Ty<'hir>),
|
Type(&'hir Expr<'hir>, &'hir Ty<'hir>),
|
||||||
/// Wraps the expression in a terminating scope.
|
/// Wraps the expression in a terminating scope.
|
||||||
/// This makes it semantically equivalent to `{ let _t = expr; _t }`.
|
/// This makes it semantically equivalent to `{ let _t = expr; _t }`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user