aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/heading_setext.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-20 12:34:38 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-20 12:34:38 +0200
commit5bf187fab2df0122e51523d1c731e457ab366121 (patch)
tree02a661ef24cece9656af279e3d2405ada60333e5 /src/construct/heading_setext.rs
parent912f91b2b35be6b0d05dd768d67599d76151bc5c (diff)
downloadmarkdown-rs-5bf187fab2df0122e51523d1c731e457ab366121.tar.gz
markdown-rs-5bf187fab2df0122e51523d1c731e457ab366121.tar.bz2
markdown-rs-5bf187fab2df0122e51523d1c731e457ab366121.zip
Remove unneeded `pub` keywords
Diffstat (limited to '')
-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') => {