From 79fe341efc4d5e7467ec08cb7d0688b17a9efb05 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 25 Jul 2022 16:27:45 +0200 Subject: Remove no longer needed field in `State::Ok` --- src/content/text.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content/text.rs') diff --git a/src/content/text.rs b/src/content/text.rs index 0d90cb4..4e49a3d 100644 --- a/src/content/text.rs +++ b/src/content/text.rs @@ -47,7 +47,7 @@ const MARKERS: [Code; 12] = [ /// Before text. pub fn start(tokenizer: &mut Tokenizer, code: Code) -> State { match code { - Code::None => State::Ok(0), + Code::None => State::Ok, _ => tokenizer.attempt_n( vec![ Box::new(attention), -- cgit