diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-06-20 12:34:38 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-06-20 12:34:38 +0200 |
commit | 5bf187fab2df0122e51523d1c731e457ab366121 (patch) | |
tree | 02a661ef24cece9656af279e3d2405ada60333e5 /src/construct/heading_setext.rs | |
parent | 912f91b2b35be6b0d05dd768d67599d76151bc5c (diff) | |
download | markdown-rs-5bf187fab2df0122e51523d1c731e457ab366121.tar.gz markdown-rs-5bf187fab2df0122e51523d1c731e457ab366121.tar.bz2 markdown-rs-5bf187fab2df0122e51523d1c731e457ab366121.zip |
Remove unneeded `pub` keywords
Diffstat (limited to 'src/construct/heading_setext.rs')
-rw-r--r-- | src/construct/heading_setext.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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') => { |