Skip to content

Commit b3dc31c

Browse files
Rollup merge of #97558 - stoeckmann:typos, r=compiler-errors
Fix typos in comment Just two typos in HashingControls' description.
2 parents 4c77fd3 + 56662bc commit b3dc31c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/rustc_data_structures/src/stable_hasher.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -632,10 +632,10 @@ fn stable_hash_reduce<HCX, I, C, F>(
632632
}
633633
}
634634

635-
/// Controls what data we do or not not hash.
635+
/// Controls what data we do or do not hash.
636636
/// Whenever a `HashStable` implementation caches its
637637
/// result, it needs to include `HashingControls` as part
638-
/// of the key, to ensure that is does not produce an incorrect
638+
/// of the key, to ensure that it does not produce an incorrect
639639
/// result (for example, using a `Fingerprint` produced while
640640
/// hashing `Span`s when a `Fingerprint` without `Span`s is
641641
/// being requested)

0 commit comments

Comments
 (0)