Fix std::collections::HashSet::drain documentation

This commit is contained in:
Wojciech Kordalski 2022-09-02 16:35:40 +02:00
parent 9353538c7b
commit 532d5f2320
No known key found for this signature in database
GPG Key ID: 7D83E309C320BD86

View File

@ -239,7 +239,7 @@ pub fn is_empty(&self) -> bool {
///
/// 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
///