simplify iterator state constructor arguments
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
cc1889d135
commit
685b127f99
10 changed files with 23 additions and 19 deletions
|
@ -77,7 +77,11 @@ impl Map {
|
|||
#[inline]
|
||||
pub fn name(&self) -> &str { &self.name }
|
||||
|
||||
fn cf(&self) -> impl AsColumnFamilyRef + '_ { &*self.cf }
|
||||
#[inline]
|
||||
pub(crate) fn db(&self) -> &Arc<Engine> { &self.db }
|
||||
|
||||
#[inline]
|
||||
pub(crate) fn cf(&self) -> impl AsColumnFamilyRef + '_ { &*self.cf }
|
||||
}
|
||||
|
||||
impl Debug for Map {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue