mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-22 15:54:47 -07:00
global: snapshot + lock file + better errors
This commit is contained in:
@@ -88,7 +88,7 @@ where
|
||||
})
|
||||
}
|
||||
|
||||
pub fn get(&self, key: &'a K) -> Result<Option<Cow<V>>> {
|
||||
pub fn get(&'_ self, key: &'a K) -> Result<Option<Cow<'_, V>>> {
|
||||
if let Some(v) = self.puts.get(key) {
|
||||
Ok(Some(Cow::Borrowed(v)))
|
||||
} else if let Some(slice) = self
|
||||
|
||||
Reference in New Issue
Block a user