From 5bf187fab2df0122e51523d1c731e457ab366121 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 20 Jun 2022 12:34:38 +0200 Subject: Remove unneeded `pub` keywords --- src/construct/partial_title.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/construct/partial_title.rs') 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. -- cgit