From 03859dba7c602f07158b87a63b25c143388fbbac Mon Sep 17 00:00:00 2001 From: Yihong Zhang Date: Sun, 17 Nov 2024 16:39:21 -0800 Subject: [PATCH] revert some pub --- src/function/table.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/function/table.rs b/src/function/table.rs index 10e90661..300cd851 100644 --- a/src/function/table.rs +++ b/src/function/table.rs @@ -48,7 +48,7 @@ struct TableOffset { } #[derive(Default, Clone)] -pub struct Table { +pub(crate) struct Table { max_ts: u32, n_stale: usize, table: RawTable, @@ -262,7 +262,7 @@ impl Table { } /// Iterate over the live entries in the table, in insertion order. - pub fn iter( + pub(crate) fn iter( &self, include_subsumed: bool, ) -> impl Iterator + '_ {