Skip to content

Commit

Permalink
Move dead_code to more granular place
Browse files Browse the repository at this point in the history
  • Loading branch information
citizen-stig committed May 31, 2024
1 parent 43265c7 commit f0e4498
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cache/delta_reader.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#![allow(dead_code)]
//! This module contains the next iteration of [`crate::cache::cache_db::CacheDb`]
//! Module with `DeltaReader`, a handler of `DB` and uncommited snapshots.
use crate::iterator::{RawDbIter, ScanDirection};
use crate::schema::{KeyCodec, KeyDecoder, ValueCodec};
use crate::{
Expand Down Expand Up @@ -140,6 +139,7 @@ impl DeltaReader {
})
}

#[allow(dead_code)]
fn iter<S: Schema>(&self) -> anyhow::Result<DeltaReaderIter<SnapshotIter>> {
let snapshot_iterators = self
.snapshots
Expand Down

0 comments on commit f0e4498

Please sign in to comment.