File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_middle/src/mir Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1642,7 +1642,7 @@ pub enum FakeReadCause {
16421642 ForMatchedPlace ( Option < DefId > ) ,
16431643
16441644 /// 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
16461646 /// we create the OutsideGuard version.
16471647 ForGuardBinding ,
16481648
@@ -2939,7 +2939,7 @@ impl Location {
29392939 let mut visited = FxHashSet :: default ( ) ;
29402940
29412941 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.
29432943 if visited. insert ( block) {
29442944 queue. extend ( predecessors[ block] . iter ( ) . cloned ( ) ) ;
29452945 } else {
You can’t perform that action at this time.
0 commit comments