From e8893a7f0dc305d82de15591c29bd079a4688e66 Mon Sep 17 00:00:00 2001 From: oiwn Date: Thu, 2 Jan 2025 18:21:24 +0700 Subject: [PATCH] make clippy happy --- src/redb_storage.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/redb_storage.rs b/src/redb_storage.rs index 5a4cd26..756bf91 100644 --- a/src/redb_storage.rs +++ b/src/redb_storage.rs @@ -115,14 +115,6 @@ impl RedbStorage { } } -impl RedbStorage { - fn new(_capacity: usize, _max_levels: usize) -> Result { - 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 {