diff options
| author | Wojciech Kordalski <wkordalski@pm.me> | 2022-09-02 16:35:40 +0200 |
|---|---|---|
| committer | Wojciech Kordalski <wkordalski@pm.me> | 2022-09-02 16:35:40 +0200 |
| commit | 532d5f2320758e37bb6e9f851c5bc507933733c9 (patch) | |
| tree | dd99e85526b34adcc4ae88caabfde109301b6045 | |
| parent | 9353538c7bea6edb245457712cec720305c4576e (diff) | |
| download | rust-532d5f2320758e37bb6e9f851c5bc507933733c9.tar.gz rust-532d5f2320758e37bb6e9f851c5bc507933733c9.zip | |
Fix `std::collections::HashSet::drain` documentation
| -rw-r--r-- | library/std/src/collections/hash/set.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/collections/hash/set.rs b/library/std/src/collections/hash/set.rs index abff82788a3..5b6a415fadc 100644 --- a/library/std/src/collections/hash/set.rs +++ b/library/std/src/collections/hash/set.rs @@ -239,7 +239,7 @@ impl<T, S> HashSet<T, S> { /// /// If the returned iterator is dropped before being fully consumed, it /// drops the remaining elements. The returned iterator keeps a mutable - /// borrow on the vector to optimize its implementation. + /// borrow on the set to optimize its implementation. /// /// # Examples /// |
