From 7e8201ae0a57ef63b876cf2bf9ae388426f1dda5 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Wed, 30 Mar 2022 01:39:38 -0400 Subject: Spellchecking some comments This PR attempts to clean up some minor spelling mistakes in comments --- compiler/rustc_data_structures/src/stable_hasher.rs | 2 +- compiler/rustc_data_structures/src/transitive_relation/tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/rustc_data_structures') diff --git a/compiler/rustc_data_structures/src/stable_hasher.rs b/compiler/rustc_data_structures/src/stable_hasher.rs index 31d6a42cf28..e8d81d4b937 100644 --- a/compiler/rustc_data_structures/src/stable_hasher.rs +++ b/compiler/rustc_data_structures/src/stable_hasher.rs @@ -623,7 +623,7 @@ pub enum NodeIdHashingMode { /// result, it needs to include `HashingControls` as part /// of the key, to ensure that is does not produce an incorrect /// result (for example, using a `Fingerprint` produced while -/// hashing `Span`s when a `Fingeprint` without `Span`s is +/// hashing `Span`s when a `Fingerprint` without `Span`s is /// being requested) #[derive(Clone, Hash, Eq, PartialEq, Debug)] pub struct HashingControls { diff --git a/compiler/rustc_data_structures/src/transitive_relation/tests.rs b/compiler/rustc_data_structures/src/transitive_relation/tests.rs index f63b1be1ddc..e1f4c7ee073 100644 --- a/compiler/rustc_data_structures/src/transitive_relation/tests.rs +++ b/compiler/rustc_data_structures/src/transitive_relation/tests.rs @@ -96,7 +96,7 @@ fn mubs_best_choice2() { // // mubs(0,3) = [2] - // Like the precedecing test, but in this case intersection is [2, + // Like the preceding test, but in this case intersection is [2, // 1], and hence we rely on the first pare down call. let mut relation = TransitiveRelation::default(); -- cgit 1.4.1-3-g733a5