From f79e6b87e28d5ed63373cfd9cbfd7946d2b5cca2 Mon Sep 17 00:00:00 2001 From: Benjamin Kampmann Date: Mon, 11 Apr 2022 20:42:35 +0200 Subject: [PATCH] use result --- crates/matrix-sdk-sled/src/state_store.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk-sled/src/state_store.rs b/crates/matrix-sdk-sled/src/state_store.rs index 4d780c91e..88d02fcfe 100644 --- a/crates/matrix-sdk-sled/src/state_store.rs +++ b/crates/matrix-sdk-sled/src/state_store.rs @@ -240,7 +240,7 @@ impl SledStore { StoreCipher::import(passphrase, &inner)? } else { let ciph = StoreCipher::new()?; - db.insert("store_cipher".encode(), ciph.export(passphrase)?); + db.insert("store_cipher".encode(), ciph.export(passphrase)?)?; ciph };