about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2022-05-30 21:21:32 +0200
committerTobias Stoeckmann <tobias@stoeckmann.org>2022-05-30 21:21:32 +0200
commit56662bcdff2123702c131b4b1a9dc574dea3e402 (patch)
tree07082e45b1d265971949f33e3859234d1cbeb0bb /compiler/rustc_data_structures/src
parente810f750a2a407f9caeabba39059578e844add14 (diff)
downloadrust-56662bcdff2123702c131b4b1a9dc574dea3e402.tar.gz
rust-56662bcdff2123702c131b4b1a9dc574dea3e402.zip
Fix typos in comment
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/stable_hasher.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/stable_hasher.rs b/compiler/rustc_data_structures/src/stable_hasher.rs
index c8bb4fc5e6a..a915a4daa95 100644
--- a/compiler/rustc_data_structures/src/stable_hasher.rs
+++ b/compiler/rustc_data_structures/src/stable_hasher.rs
@@ -632,10 +632,10 @@ fn stable_hash_reduce<HCX, I, C, F>(
     }
 }
 
-/// Controls what data we do or not not hash.
+/// Controls what data we do or do not hash.
 /// Whenever a `HashStable` implementation caches its
 /// result, it needs to include `HashingControls` as part
-/// of the key, to ensure that is does not produce an incorrect
+/// of the key, to ensure that it does not produce an incorrect
 /// result (for example, using a `Fingerprint` produced while
 /// hashing `Span`s when a `Fingerprint` without `Span`s is
 /// being requested)