Fix std::collections::HashSet::drain
documentation
This commit is contained in:
parent
9353538c7b
commit
532d5f2320
@ -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
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user