diff options
author | Paul Masurel <paul.masurel@gmail.com> | 2017-05-31 08:22:53 +0900 |
---|---|---|
committer | Paul Masurel <paul.masurel@gmail.com> | 2017-05-31 08:31:20 +0900 |
commit | 0521844e5689ef90a92b229fcd645e83ad1e7c3f (patch) | |
tree | 0b4ddf7c6c7f06a26bbce2b1ab0e3a91f248e822 /src/termdict/merger.rs | |
parent | 8d4778f94d67e0d71bc93ded4048d2a4f644de3c (diff) |
Format, small changes in VInt
Diffstat (limited to 'src/termdict/merger.rs')
-rw-r--r-- | src/termdict/merger.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/termdict/merger.rs b/src/termdict/merger.rs index 6967be9..4689e06 100644 --- a/src/termdict/merger.rs +++ b/src/termdict/merger.rs @@ -48,7 +48,6 @@ impl<'a, V> Ord for HeapItem<'a, V> /// - the term /// - a slice with the ordinal of the segments containing /// the terms. -#[allow(should_implement_trait)] pub struct TermMerger<'a, V> where V: 'a + BinarySerializable + Default { @@ -131,6 +130,7 @@ impl<'a, V> TermMerger<'a, V> } /// Iterates through terms + #[allow(should_implement_trait)] pub fn next(&mut self) -> Option<Term<&[u8]>> { if self.advance() { Some(Term::wrap(self.current_streamers[0].streamer.key())) |