提交 e850d78b 编写于 作者: M Michael Woerister

Remove SortedMap::iter_mut() since that allows to break the element sorting...

Remove SortedMap::iter_mut() since that allows to break the element sorting order which lookup relies on.
上级 eaa796c8
......@@ -141,14 +141,6 @@ pub fn range<R>(&self, range: R) -> &[(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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册