aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/heading_setext.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/construct/heading_setext.rs')
-rw-r--r--src/construct/heading_setext.rs2
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') => {