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