VecMap::into_iter shouldn't be taking a &mut self
#21328
Labels
A-collections
Area: `std::collections`
&mut self
#21328
cc @gankro
I'm in the process of
IntoIter
-ifying the collections, and I've discovered that theVecMap::into_iter
takes a&mut self
instead of the convention ofinto_*
consuming the value. It's also marked stable, even though the type itself is marked unstable. Should this instead be a candidate for thedrain
method discussed in the collection reform trait?The text was updated successfully, but these errors were encountered: