From a8ca311d961909db99d536c0816edae8f1d39d11 Mon Sep 17 00:00:00 2001 From: Sergei Shulepov Date: Sat, 23 Nov 2024 18:01:16 +0800 Subject: [PATCH] chore: reduce visibility of beatree imports --- nomt/src/beatree/mod.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/nomt/src/beatree/mod.rs b/nomt/src/beatree/mod.rs index cc81ebca..ea2bfe76 100644 --- a/nomt/src/beatree/mod.rs +++ b/nomt/src/beatree/mod.rs @@ -7,13 +7,14 @@ use threadpool::ThreadPool; use crate::io::{fsyncer::Fsyncer, IoHandle, IoPool, PagePool}; -pub(crate) mod allocator; -pub(crate) mod branch; +mod allocator; +mod branch; mod index; mod leaf; -pub(crate) mod ops; -pub(crate) mod writeout; -pub(crate) use index::Index; +mod ops; + +mod writeout; +use index::Index; #[cfg(feature = "benchmarks")] pub mod benches;