Skip to content

Commit 344bb59

Browse files
authored
Rollup merge of #93560 - steffahn:a_typo, r=petrochenkov
Fix two incorrect "it's" (typos in comments) Found one of these while reading the documentation online. The other came up because it's in the same file.
2 parents c483b9f + 63b12ae commit 344bb59

File tree

1 file changed

+2
-2
lines changed
  • compiler/rustc_middle/src/mir

1 file changed

+2
-2
lines changed

compiler/rustc_middle/src/mir/mod.rs

+2-2
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)