diff options
Diffstat (limited to 'src/db/lib.rs')
-rw-r--r-- | src/db/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/db/lib.rs b/src/db/lib.rs index ce1b1c8b..3a2e1d13 100644 --- a/src/db/lib.rs +++ b/src/db/lib.rs @@ -22,11 +22,9 @@ pub struct Transaction<'a>(pub(crate) &'a dyn ITx<'a>); pub struct Tree(pub(crate) Arc<dyn IDb>, pub(crate) usize); pub type Value<'a> = Cow<'a, [u8]>; -pub type ValueIter<'a> = - Box<dyn std::iter::Iterator<Item = Result<(Value<'a>, Value<'a>)>> + Send + 'a>; +pub type ValueIter<'a> = Box<dyn std::iter::Iterator<Item = Result<(Value<'a>, Value<'a>)>> + 'a>; -pub type Exporter<'a> = - Box<dyn std::iter::Iterator<Item = Result<(String, ValueIter<'a>)>> + 'a>; +pub type Exporter<'a> = Box<dyn std::iter::Iterator<Item = Result<(String, ValueIter<'a>)>> + 'a>; // ---- |