Fix hir::Local doc to match with the variable name used: init
This commit is contained in:
@@ -1273,7 +1273,7 @@ pub enum StmtKind<'hir> {
|
|||||||
Semi(&'hir Expr<'hir>),
|
Semi(&'hir Expr<'hir>),
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Represents a `let` statement (i.e., `let <pat>:<ty> = <expr>;`).
|
/// Represents a `let` statement (i.e., `let <pat>:<ty> = <init>;`).
|
||||||
#[derive(Debug, HashStable_Generic)]
|
#[derive(Debug, HashStable_Generic)]
|
||||||
pub struct Local<'hir> {
|
pub struct Local<'hir> {
|
||||||
pub pat: &'hir Pat<'hir>,
|
pub pat: &'hir Pat<'hir>,
|
||||||
|
|||||||
Reference in New Issue
Block a user