fix some typos in comments
Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
parent
229e875878
commit
442f848d74
13 changed files with 15 additions and 15 deletions
|
@ -118,7 +118,7 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
|
|||
else_block: Some(else_block),
|
||||
} => {
|
||||
// When lowering the statement `let <pat> = <expr> else { <else> };`,
|
||||
// the `<else>` block is nested in the parent scope enclosing this statment.
|
||||
// the `<else>` block is nested in the parent scope enclosing this statement.
|
||||
// That scope is usually either the enclosing block scope,
|
||||
// or the remainder scope of the last statement.
|
||||
// This is to make sure that temporaries instantiated in `<expr>` are dropped
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue