From b02cda5760fbe45aa8fc88e30f77b2276b675503 Mon Sep 17 00:00:00 2001 From: wootmatt Date: Mon, 4 Apr 2022 14:46:41 +0000 Subject: [PATCH] Change visibility of Slab::root to public --- dex/src/critbit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dex/src/critbit.rs b/dex/src/critbit.rs index 6dfdcb2c..ed6d10ed 100644 --- a/dex/src/critbit.rs +++ b/dex/src/critbit.rs @@ -492,7 +492,7 @@ pub enum SlabTreeError { } impl Slab { - fn root(&self) -> Option { + pub fn root(&self) -> Option { if self.header().leaf_count == 0 { return None; }