about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-25 01:44:28 +0000
committerbors <bors@rust-lang.org>2022-12-25 01:44:28 +0000
commit40d7940bdaf30eab6db0fe67690ac940eb035cc0 (patch)
tree5afd1ecd3f0ccc319fe66c1c31fe4ea59c6001eb /compiler/rustc_data_structures/src
parent346804452164befcc44e1531803b73d01b2864cd (diff)
parent7b371d2ad9325b80b1472444e2a833160d9e7c2b (diff)
downloadrust-40d7940bdaf30eab6db0fe67690ac940eb035cc0.tar.gz
rust-40d7940bdaf30eab6db0fe67690ac940eb035cc0.zip
Auto merge of #106132 - kadiwa4:typos, r=compiler-errors
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)
 /// ```