We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
hir::Local
init
1 parent 50872bd commit e1bb09eCopy full SHA for e1bb09e
1 file changed
compiler/rustc_hir/src/hir.rs
@@ -1273,7 +1273,7 @@ pub enum StmtKind<'hir> {
1273
Semi(&'hir Expr<'hir>),
1274
}
1275
1276
-/// Represents a `let` statement (i.e., `let <pat>:<ty> = <expr>;`).
+/// Represents a `let` statement (i.e., `let <pat>:<ty> = <init>;`).
1277
#[derive(Debug, HashStable_Generic)]
1278
pub struct Local<'hir> {
1279
pub pat: &'hir Pat<'hir>,
0 commit comments