Skip to content

Commit 232f629

Browse files
committed
misc: clippy
Signed-off-by: Anthony Griffon <[email protected]>
1 parent eaf1cb7 commit 232f629

File tree

1 file changed

+2
-0
lines changed
  • app/roster/src/domain/storage

1 file changed

+2
-0
lines changed

app/roster/src/domain/storage/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ pub struct StorageValue {
2424
#[derive(Debug, Clone)]
2525
pub struct StorageSegment {
2626
db: Arc<HashMap<Vec<u8>, StorageValue, BuildHasherDefault<FxHasher>>>,
27+
#[allow(dead_code)]
2728
slot: Slot,
2829
count: Arc<AtomicU32>,
2930
}
@@ -52,6 +53,7 @@ impl StorageSegment {
5253
}
5354
}
5455

56+
#[allow(dead_code)]
5557
pub fn is_in_slot(&self, i: u16) -> bool {
5658
self.slot.contains(&i)
5759
}

0 commit comments

Comments
 (0)