Skip to content

Commit

Permalink
Rollup merge of #97558 - stoeckmann:typos, r=compiler-errors
Browse files Browse the repository at this point in the history
Fix typos in comment

Just two typos in HashingControls' description.
  • Loading branch information
compiler-errors authored May 30, 2022
2 parents 4c77fd3 + 56662bc commit b3dc31c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions compiler/rustc_data_structures/src/stable_hasher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b3dc31c

Please sign in to comment.