Rollup merge of #97558 - stoeckmann:typos, r=compiler-errors

Fix typos in comment

Just two typos in HashingControls' description.
This commit is contained in:
Michael Goulet 2022-05-30 15:57:31 -07:00 committed by GitHub
commit b3dc31ca9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)