From 26d55cfc452a066528a04df510050025b7265748 Mon Sep 17 00:00:00 2001 From: Jonathan Dung Date: Fri, 3 Jul 2026 18:24:59 +0800 Subject: [PATCH] Fix typo in `duplicates_with_hasher` documentation --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 804c7c450..619f903bc 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1586,7 +1586,7 @@ pub trait Itertools: Iterator { /// [.duplicates()](crate::Itertools::duplicates), but uses the specified hash builder to hash /// the elements for comparison. /// - /// Warning: `hash_builder` is normally randomly generated, and is designed to allow it's + /// Warning: `hash_builder` is normally randomly generated, and is designed to allow its /// users to be resistant to attacks that cause many collisions and very poor performance. /// Setting it manually using this function can expose a DoS attack vector. ///