From 93d018695758deb1545bc2b8dfb64b541962915e Mon Sep 17 00:00:00 2001 From: Daria Sukhonina Date: Mon, 20 Apr 2026 13:51:01 +0300 Subject: [PATCH] Fix typo --- compiler/rustc_data_structures/src/sharded.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_data_structures/src/sharded.rs b/compiler/rustc_data_structures/src/sharded.rs index 48b6da6ed48c..5cce53efff49 100644 --- a/compiler/rustc_data_structures/src/sharded.rs +++ b/compiler/rustc_data_structures/src/sharded.rs @@ -185,7 +185,7 @@ pub fn get_or_insert_with(&self, key: K, default: impl FnOnce() -> V) -> V /// Insert value into the [`ShardedHashMap`] with unique key. /// - /// Checks uniqness if debug_assertions enabled. + /// Checks uniqueness if debug_assertions enabled. #[inline] pub fn insert_unique(&self, key: K, value: V) { let hash = make_hash(&key);