Skip to content

Commit 03d02d7

Browse files
committed
refactor(indexeddb): allow IndexeddbSerializer::hash_key to be unused until event cache store is a default feature
Signed-off-by: Michael Goldenberg <[email protected]>
1 parent 82faedd commit 03d02d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/matrix-sdk-indexeddb/src/serializer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ impl IndexeddbSerializer {
9999
/// **Note** that when dealing with keys which will be encoded as strings,
100100
/// it is recommended to use [`encode_key`](Self::encode_key), as it
101101
/// ensures that strings are safe for use as a key.
102+
#[allow(unused)]
102103
pub fn hash_key<T>(&self, table_name: &str, key: T) -> Vec<u8>
103104
where
104105
T: AsRef<[u8]>,

0 commit comments

Comments
 (0)