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); -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, pub(crate) usize); +pub struct Tree(Arc, usize); pub type Value = Vec; pub type ValueIter<'a> = Box> + 'a>;