Rollup merge of #101330 - wkordalski:hashset-drain-doc, r=jyn514
Fix `std::collections::HashSet::drain` documentation Hi! `std::collections::HashSet::drain` contains small typo in the docstring. I didn't read too much about the model of contributing to Rust, so merge this PR or close and fix the typo the right way :) Thanks for Rust!
This commit is contained in:
commit
414d79d567
@ -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