aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/partial_title.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/partial_title.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/partial_title.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/construct/partial_title.rs b/src/construct/partial_title.rs
index a626c50..7b5fa64 100644
--- a/src/construct/partial_title.rs
+++ b/src/construct/partial_title.rs
@@ -123,10 +123,7 @@ fn at_break(tokenizer: &mut Tokenizer, code: Code, kind: Kind) -> StateFnResult
tokenizer.enter(TokenType::LineEnding);
tokenizer.consume(code);
tokenizer.exit(TokenType::LineEnding);
- (
- State::Fn(Box::new(|t, c| line_start(t, c, kind))),
- None,
- )
+ (State::Fn(Box::new(|t, c| line_start(t, c, kind))), None)
}
_ => {
// To do: link.