From e7b3761c8cd6f0f902dd9927e4fbf2589465ed57 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 22 Jun 2022 17:58:11 +0200 Subject: Refactor to not use `pub` when not needed --- src/construct/thematic_break.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/construct/thematic_break.rs') diff --git a/src/construct/thematic_break.rs b/src/construct/thematic_break.rs index 3d24566..9978ee0 100644 --- a/src/construct/thematic_break.rs +++ b/src/construct/thematic_break.rs @@ -130,7 +130,7 @@ pub fn start(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { /// ```markdown /// |*** /// ``` -pub fn before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { +fn before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { match code { Code::Char(char) if char == '*' || char == '-' || char == '_' => at_break( tokenizer, -- cgit