docs: update readme

This commit is contained in:
Magamedrasul Ibragimov 2023-02-10 13:35:59 +04:00
parent f261dc15bb
commit 69c9a5dd03
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ impl Database for MemoryDB {
}
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>> {