Silence sum_tree warnings
* Remove unused enum variant * Add #[allow(unused)] for non-trivial methods
This commit is contained in:
parent
575f5910fa
commit
32500e21f6
2 changed files with 5 additions and 3 deletions
|
@ -133,6 +133,7 @@ where
|
|||
None
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn prev(&mut self) {
|
||||
assert!(self.did_seek, "Must seek before calling this method");
|
||||
|
||||
|
@ -385,6 +386,7 @@ where
|
|||
self.seek_internal::<()>(pos, bias, &mut SeekAggregate::None)
|
||||
}
|
||||
|
||||
#[allow(unused)]
|
||||
pub fn seek_forward(&mut self, pos: &S, bias: SeekBias) -> bool {
|
||||
self.seek_internal::<()>(pos, bias, &mut SeekAggregate::None)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue