diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-02-02 07:11:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-02 07:11:09 +0100 |
| commit | 344bb595302b1c20c212598e84c74f28030da3ad (patch) | |
| tree | ccf15ae68cfe680aa65f11310e7006faf94401ae /compiler | |
| parent | c483b9f1bff855143bc257bfd089ee4b5b634bcf (diff) | |
| parent | 63b12aea27a5a6cd7a792660bbdeacb6c7eafbef (diff) | |
| download | rust-344bb595302b1c20c212598e84c74f28030da3ad.tar.gz rust-344bb595302b1c20c212598e84c74f28030da3ad.zip | |
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.
Diffstat (limited to 'compiler')
| -rw-r--r-- | compiler/rustc_middle/src/mir/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_middle/src/mir/mod.rs b/compiler/rustc_middle/src/mir/mod.rs index b1ab0f5b533..e9e6d613310 100644 --- a/compiler/rustc_middle/src/mir/mod.rs +++ b/compiler/rustc_middle/src/mir/mod.rs @@ -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, @@ -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 { |
