aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-07 17:23:17 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-07 17:23:17 +0200
commit1bbe0794f363eb59c56548cca672013fd78f361a (patch)
tree57852c1867dee23173823d76bde511e7c8c6d31b /src
parent6f3d43b75b45dc9aca03c0598f81f4cb2c2013b2 (diff)
downloadgarage-1bbe0794f363eb59c56548cca672013fd78f361a.tar.gz
garage-1bbe0794f363eb59c56548cca672013fd78f361a.zip
less pub(crate)
Diffstat (limited to 'src')
-rw-r--r--src/db/lib.rs4
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>;