mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-22 01:24:18 +01:00
Merge 'core/storage: Remove unused import warning' from Pekka Enberg
Closes #3069
This commit is contained in:
@@ -38,11 +38,10 @@ use super::{
|
||||
write_varint_to_vec, IndexInteriorCell, IndexLeafCell, OverflowCell, MINIMUM_CELL_SIZE,
|
||||
},
|
||||
};
|
||||
use std::collections::{HashMap, HashSet};
|
||||
use std::{
|
||||
cell::{Cell, Ref, RefCell},
|
||||
cmp::{Ordering, Reverse},
|
||||
collections::BinaryHeap,
|
||||
collections::{BinaryHeap, HashMap},
|
||||
fmt::Debug,
|
||||
ops::DerefMut,
|
||||
pin::Pin,
|
||||
@@ -3396,7 +3395,7 @@ impl BTreeCursor {
|
||||
// pages_pointed_to helps us debug we did in fact create divider cells to all the new pages and the rightmost pointer,
|
||||
// also points to the last page.
|
||||
#[cfg(debug_assertions)]
|
||||
let mut pages_pointed_to = HashSet::new();
|
||||
let mut pages_pointed_to = std::collections::HashSet::new();
|
||||
|
||||
// Write right pointer in parent page to point to new rightmost page. keep in mind
|
||||
// we update rightmost pointer first because inserting cells could defragment parent page,
|
||||
|
||||
Reference in New Issue
Block a user