From 1bbe0794f363eb59c56548cca672013fd78f361a Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 7 Jun 2022 17:23:17 +0200 Subject: [PATCH] less pub(crate) --- src/db/lib.rs | 4 ++-- 1 file 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); -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>;