diff options
| author | Michael Goulet <michael@errs.io> | 2022-05-30 15:57:31 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-30 15:57:31 -0700 |
| commit | b3dc31ca9ce37a586b0d73a737aa9841671fd7c1 (patch) | |
| tree | d9a05a9fb1e9949d1bc9b1259745997466f003ad /compiler/rustc_data_structures/src | |
| parent | 4c77fd30febd5ef5c9ab30e536a1bd6b501440c5 (diff) | |
| parent | 56662bcdff2123702c131b4b1a9dc574dea3e402 (diff) | |
| download | rust-b3dc31ca9ce37a586b0d73a737aa9841671fd7c1.tar.gz rust-b3dc31ca9ce37a586b0d73a737aa9841671fd7c1.zip | |
Rollup merge of #97558 - stoeckmann:typos, r=compiler-errors
Fix typos in comment Just two typos in HashingControls' description.
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/stable_hasher.rs | 4 |
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) |
