diff options
| author | KaDiWa <kalle.wachsmuth@gmail.com> | 2022-12-25 00:43:50 +0100 |
|---|---|---|
| committer | KaDiWa <kalle.wachsmuth@gmail.com> | 2022-12-25 00:43:50 +0100 |
| commit | 7b371d2ad9325b80b1472444e2a833160d9e7c2b (patch) | |
| tree | 2aedf68aba775931e1aff74317ec7ec7f8f8f4c3 /compiler/rustc_data_structures/src | |
| parent | 7e4f4660ebb4533de629b5d7d8ac10ed572d0f2e (diff) | |
| download | rust-7b371d2ad9325b80b1472444e2a833160d9e7c2b.tar.gz rust-7b371d2ad9325b80b1472444e2a833160d9e7c2b.zip | |
fix some typos
Diffstat (limited to 'compiler/rustc_data_structures/src')
| -rw-r--r-- | compiler/rustc_data_structures/src/stable_hasher.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/stable_hasher.rs b/compiler/rustc_data_structures/src/stable_hasher.rs index 1a728f82f00..ae4836645fa 100644 --- a/compiler/rustc_data_structures/src/stable_hasher.rs +++ b/compiler/rustc_data_structures/src/stable_hasher.rs @@ -223,7 +223,7 @@ pub trait ToStableHashKey<HCX> { /// stable across compilation session boundaries. More formally: /// /// ```txt -/// Ord::cmp(a1, b1) == Ord:cmp(a2, b2) +/// Ord::cmp(a1, b1) == Ord::cmp(a2, b2) /// where a2 = decode(encode(a1, context1), context2) /// b2 = decode(encode(b1, context1), context2) /// ``` |
