trigger build
This commit is contained in:
parent
254b855963
commit
2205b80703
@ -168,6 +168,7 @@ impl<K, V> RangeCollection<K, V> for Vec<(K, Vec<V>)> where K: Ord + PartialEq +
|
|||||||
fn insert_item(&mut self, key: K, value: V) {
|
fn insert_item(&mut self, key: K, value: V) {
|
||||||
assert!(!self.have_item(&key));
|
assert!(!self.have_item(&key));
|
||||||
|
|
||||||
|
// todo: fix warning
|
||||||
let lower = match self.binary_search_by(|&(k, _)| k.cmp(&key).reverse()) {
|
let lower = match self.binary_search_by(|&(k, _)| k.cmp(&key).reverse()) {
|
||||||
Ok(index) => index,
|
Ok(index) => index,
|
||||||
Err(index) => index,
|
Err(index) => index,
|
||||||
|
Loading…
Reference in New Issue
Block a user