about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorKaDiWa <kalle.wachsmuth@gmail.com>2022-12-25 00:43:50 +0100
committerKaDiWa <kalle.wachsmuth@gmail.com>2022-12-25 00:43:50 +0100
commit7b371d2ad9325b80b1472444e2a833160d9e7c2b (patch)
tree2aedf68aba775931e1aff74317ec7ec7f8f8f4c3 /compiler/rustc_data_structures/src
parent7e4f4660ebb4533de629b5d7d8ac10ed572d0f2e (diff)
downloadrust-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.rs2
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)
 /// ```