mirror of
https://github.com/vacp2p/pmtree.git
synced 2025-02-18 02:06:41 +00:00
docs: update readme
This commit is contained in:
parent
f261dc15bb
commit
69c9a5dd03
@ -29,7 +29,7 @@ impl Database for MemoryDB {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn load(_dbpath: &str) -> Result<Self> {
|
fn load(_dbpath: &str) -> Result<Self> {
|
||||||
Err(Error("Cannot load in-memory DB".to_string()))
|
Err(Box::new(Error("Cannot load in-memory DB".to_string())))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get(&self, key: DBKey) -> Result<Option<Value>> {
|
fn get(&self, key: DBKey) -> Result<Option<Value>> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user