mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-05 22:47:02 -04:00
base: Fix a typo take two
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user