base: Fix a typo
parent
c034de470b
commit
5daa22250f
|
@ -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();
|
||||||
|
|
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue