diff options
Diffstat (limited to '')
-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 91e494d..06ce481 100644 --- a/src/construct/heading_setext.rs +++ b/src/construct/heading_setext.rs @@ -124,7 +124,7 @@ pub fn start(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { /// |alpha /// == /// ``` -pub fn before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { +fn before(tokenizer: &mut Tokenizer, code: Code) -> StateFnResult { match code { Code::None | Code::CarriageReturnLineFeed | Code::Char('\n' | '\r') => { unreachable!("expected non-eol/eof"); |