Fix typo in simplify_try.rs

assigment -> assignment
This commit is contained in:
Ikko Ashimine 2020-12-23 21:11:59 +09:00 committed by GitHub
parent 28d73a3ee3
commit 87397080b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;