From 4f8a8a819757220fc8178f9afd8ac087719b4c7f Mon Sep 17 00:00:00 2001 From: Wilfred Hughes Date: Sat, 28 May 2022 10:09:54 -0700 Subject: [PATCH] This function does not need to be pub --- src/parse/syntax.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/syntax.rs b/src/parse/syntax.rs index 4568cc3f9..5f753b0dc 100644 --- a/src/parse/syntax.rs +++ b/src/parse/syntax.rs @@ -332,7 +332,7 @@ pub fn init_all_info<'a>(lhs_roots: &[&'a Syntax<'a>], rhs_roots: &[&'a Syntax<' init_next_prev(rhs_roots); } -pub fn init_info<'a>(lhs_roots: &[&'a Syntax<'a>], rhs_roots: &[&'a Syntax<'a>]) { +fn init_info<'a>(lhs_roots: &[&'a Syntax<'a>], rhs_roots: &[&'a Syntax<'a>]) { let mut id = NonZeroU32::new(1).unwrap(); init_info_single(lhs_roots, &mut id); init_info_single(rhs_roots, &mut id);