File tree 1 file changed +2
-2
lines changed
compiler/rustc_middle/src/mir
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1642,7 +1642,7 @@ pub enum FakeReadCause {
1642
1642
ForMatchedPlace ( Option < DefId > ) ,
1643
1643
1644
1644
/// A fake read of the RefWithinGuard version of a bind-by-value variable
1645
- /// in a match guard to ensure that it's value hasn't change by the time
1645
+ /// in a match guard to ensure that its value hasn't change by the time
1646
1646
/// we create the OutsideGuard version.
1647
1647
ForGuardBinding ,
1648
1648
@@ -2939,7 +2939,7 @@ impl Location {
2939
2939
let mut visited = FxHashSet :: default ( ) ;
2940
2940
2941
2941
while let Some ( block) = queue. pop ( ) {
2942
- // If we haven't visited this block before, then make sure we visit it's predecessors.
2942
+ // If we haven't visited this block before, then make sure we visit its predecessors.
2943
2943
if visited. insert ( block) {
2944
2944
queue. extend ( predecessors[ block] . iter ( ) . cloned ( ) ) ;
2945
2945
} else {
You can’t perform that action at this time.
0 commit comments