Remove SortedMap::iter_mut() since that allows to break the element sorting order which lookup relies on.
This commit is contained in:
parent
eaa796c8b8
commit
e850d78bcc
1 changed files with 0 additions and 8 deletions
|
|
@ -141,14 +141,6 @@ impl<K: Ord, V> SortedMap<K, V> {
|
|||
(&self.data[start .. end])
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn range_mut<R>(&mut self, range: R) -> &mut [(K, V)]
|
||||
where R: RangeBounds<K>
|
||||
{
|
||||
let (start, end) = self.range_slice_indices(range);
|
||||
(&mut self.data[start .. end])
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn remove_range<R>(&mut self, range: R)
|
||||
where R: RangeBounds<K>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue