Fix typo in simplify_try.rs
assigment -> assignment
This commit is contained in:
parent
28d73a3ee3
commit
87397080b6
1 changed files with 1 additions and 1 deletions
|
@ -306,7 +306,7 @@ fn optimization_applies<'tcx>(
|
|||
return false;
|
||||
}
|
||||
|
||||
// Verify the assigment chain consists of the form b = a; c = b; d = c; etc...
|
||||
// Verify the assignment chain consists of the form b = a; c = b; d = c; etc...
|
||||
if opt_info.field_tmp_assignments.is_empty() {
|
||||
trace!("NO: no assignments found");
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue