sync starter code with refsol on MergeIterator
Signed-off-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ impl<I: StorageIterator> Ord for HeapWrapper<I> {
|
||||
/// iterators, perfer the one with smaller index.
|
||||
pub struct MergeIterator<I: StorageIterator> {
|
||||
iters: BinaryHeap<HeapWrapper<I>>,
|
||||
current: HeapWrapper<I>,
|
||||
current: Option<HeapWrapper<I>>,
|
||||
}
|
||||
|
||||
impl<I: StorageIterator> MergeIterator<I> {
|
||||
|
Reference in New Issue
Block a user