From 5bf187fab2df0122e51523d1c731e457ab366121 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 20 Jun 2022 12:34:38 +0200 Subject: Remove unneeded `pub` keywords --- src/construct/heading_setext.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/construct/heading_setext.rs') diff --git a/src/construct/heading_setext.rs b/src/construct/heading_setext.rs index 8cc4f6d..f4c6001 100644 --- a/src/construct/heading_setext.rs +++ b/src/construct/heading_setext.rs @@ -90,7 +90,7 @@ pub fn start(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { /// bra|vo /// == /// ``` -pub fn text_inside(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { +fn text_inside(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { match code { Code::None => (State::Nok, None), Code::CarriageReturnLineFeed | Code::Char('\n' | '\r') => { -- cgit