mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-14 04:08:36 -07:00
computer: unwrap
This commit is contained in:
@@ -46,12 +46,12 @@ where
|
||||
self.inner.get(index)
|
||||
}
|
||||
#[inline]
|
||||
pub fn cached_get(&mut self, index: I) -> Result<Option<Value<'_, T>>> {
|
||||
self.inner.cached_get(index)
|
||||
pub fn unwrap_cached_get(&mut self, index: I) -> Option<T> {
|
||||
self.inner.unwrap_cached_get(index)
|
||||
}
|
||||
#[inline]
|
||||
pub fn cached_get_(&mut self, index: usize) -> Result<Option<Value<'_, T>>> {
|
||||
self.inner.cached_get_(index)
|
||||
pub fn double_unwrap_cached_get(&mut self, index: I) -> T {
|
||||
self.inner.double_unwrap_cached_get(index)
|
||||
}
|
||||
|
||||
pub fn iter_from<F>(&mut self, index: I, f: F) -> Result<()>
|
||||
|
||||
Reference in New Issue
Block a user