diff options
Diffstat (limited to 'src/db/lib.rs')
-rw-r--r-- | src/db/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/db/lib.rs b/src/db/lib.rs index ed1bdb75..a7b6197c 100644 --- a/src/db/lib.rs +++ b/src/db/lib.rs @@ -18,10 +18,10 @@ use err_derive::Error; #[derive(Clone)] pub struct Db(pub(crate) Arc<dyn IDb>); -pub struct Transaction<'a>(pub(crate) &'a mut dyn ITx); +pub struct Transaction<'a>(&'a mut dyn ITx); #[derive(Clone)] -pub struct Tree(pub(crate) Arc<dyn IDb>, pub(crate) usize); +pub struct Tree(Arc<dyn IDb>, usize); pub type Value = Vec<u8>; pub type ValueIter<'a> = Box<dyn std::iter::Iterator<Item = Result<(Value, Value)>> + 'a>; |