Skip to content

Commit

Permalink
make clippy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
oiwn committed Jan 2, 2025
1 parent cc333af commit e8893a7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/redb_storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,6 @@ impl RedbStorage {
}
}

impl RedbStorage {
fn new(_capacity: usize, _max_levels: usize) -> Result<Self> {
Err(BloomError::StorageError(
"Use RedbStorage::open() instead".to_string(),
))
}
}

impl BloomFilterStorage for RedbStorage {
fn set_bit(&mut self, level: usize, index: usize) -> Result<()> {
if index >= self.capacity {
Expand Down

0 comments on commit e8893a7

Please sign in to comment.