trigger build

This commit is contained in:
Nikolay Volf 2016-02-13 18:11:46 +03:00
parent 254b855963
commit 2205b80703

View File

@ -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,