base: Fix a typo

master
Damir Jelić 2021-01-22 15:45:14 +01:00
parent c034de470b
commit 5daa22250f
2 changed files with 2 additions and 2 deletions

View File

@ -288,7 +288,7 @@ impl BaseClient {
} }
Store::open_default(path, config.passphrase.as_deref().map(|p| p.as_str()))? Store::open_default(path, config.passphrase.as_deref().map(|p| p.as_str()))?
} else { } else {
Store::open_temporrary()? Store::opent_temporary()?
}; };
#[cfg(target_arch = "wasm32")] #[cfg(target_arch = "wasm32")]
let store = Store::open_memory_store(); let store = Store::open_memory_store();

View File

@ -152,7 +152,7 @@ impl Store {
Ok((Self::new(Box::new(inner.clone())), inner.inner)) Ok((Self::new(Box::new(inner.clone())), inner.inner))
} }
pub fn open_temporrary() -> Result<(Self, Db)> { pub fn opent_temporary() -> Result<(Self, Db)> {
let inner = SledStore::open()?; let inner = SledStore::open()?;
Ok((Self::new(Box::new(inner.clone())), inner.inner)) Ok((Self::new(Box::new(inner.clone())), inner.inner))