From b83399ba14e2ba2837422f49c486fc56db7f32fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 22 Jan 2021 16:07:24 +0100 Subject: [PATCH] base: Fix a typo take two --- matrix_sdk_base/src/client.rs | 2 +- matrix_sdk_base/src/store/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_sdk_base/src/client.rs b/matrix_sdk_base/src/client.rs index 21cda2a9..aa9b70bc 100644 --- a/matrix_sdk_base/src/client.rs +++ b/matrix_sdk_base/src/client.rs @@ -288,7 +288,7 @@ impl BaseClient { } Store::open_default(path, config.passphrase.as_deref().map(|p| p.as_str()))? } else { - Store::opent_temporary()? + Store::open_temporary()? }; #[cfg(target_arch = "wasm32")] let store = Store::open_memory_store(); diff --git a/matrix_sdk_base/src/store/mod.rs b/matrix_sdk_base/src/store/mod.rs index 96a0797e..93fae536 100644 --- a/matrix_sdk_base/src/store/mod.rs +++ b/matrix_sdk_base/src/store/mod.rs @@ -152,7 +152,7 @@ impl Store { Ok((Self::new(Box::new(inner.clone())), inner.inner)) } - pub fn opent_temporary() -> Result<(Self, Db)> { + pub fn open_temporary() -> Result<(Self, Db)> { let inner = SledStore::open()?; Ok((Self::new(Box::new(inner.clone())), inner.inner))