Skip to content

Commit

Permalink
Rollup merge of rust-lang#93560 - steffahn:a_typo, r=petrochenkov
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthiaskrgr authored Feb 2, 2022
2 parents c483b9f + 63b12ae commit 344bb59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_middle/src/mir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,7 @@ pub enum FakeReadCause {
ForMatchedPlace(Option<DefId>),

/// A fake read of the RefWithinGuard version of a bind-by-value variable
/// in a match guard to ensure that it's value hasn't change by the time
/// in a match guard to ensure that its value hasn't change by the time
/// we create the OutsideGuard version.
ForGuardBinding,

Expand Down Expand Up @@ -2939,7 +2939,7 @@ impl Location {
let mut visited = FxHashSet::default();

while let Some(block) = queue.pop() {
// If we haven't visited this block before, then make sure we visit it's predecessors.
// If we haven't visited this block before, then make sure we visit its predecessors.
if visited.insert(block) {
queue.extend(predecessors[block].iter().cloned());
} else {
Expand Down

0 comments on commit 344bb59

Please sign in to comment.