base: Fix a typo take two

master
Damir Jelić 2021-01-22 16:07:24 +01:00
parent 5daa22250f
commit b83399ba14
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::opent_temporary()? Store::open_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 opent_temporary() -> Result<(Self, Db)> { pub fn open_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))