1
Fork 0

Spellchecking some comments

This PR attempts to clean up some minor spelling mistakes in comments
This commit is contained in:
Yuri Astrakhan 2022-03-30 01:39:38 -04:00
parent 600ec28483
commit 7e8201ae0a
48 changed files with 61 additions and 61 deletions

View file

@ -192,7 +192,7 @@ fn find_capture_matching_projections<'a, 'tcx>(
is_ancestor_or_same_capture(&possible_ancestor_proj_kinds, &hir_projections)
})?;
// Convert index to be from the presepective of the entire closure_min_captures map
// Convert index to be from the perspective of the entire closure_min_captures map
// instead of just the root variable capture list
Some((compute_capture_idx(closure_min_captures, var_hir_id, idx), capture))
}