NFC don't convert types to identical types
This commit is contained in:
parent
a96d57bdb6
commit
8479945c08
24 changed files with 35 additions and 50 deletions
|
@ -198,7 +198,7 @@ impl<K: Ord, V> SortedMap<K, V> {
|
|||
if index == self.data.len() || elements.last().unwrap().0 < self.data[index].0 {
|
||||
// We can copy the whole range without having to mix with
|
||||
// existing elements.
|
||||
self.data.splice(index..index, elements.into_iter());
|
||||
self.data.splice(index..index, elements);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue