From 8162222295d71ea7fd9270c7b3b9497b91db3f1f Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 10 Aug 2022 09:16:36 +0200 Subject: Rename `State::Fn` to `State::Next` --- src/construct/blank_line.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/construct/blank_line.rs') diff --git a/src/construct/blank_line.rs b/src/construct/blank_line.rs index 22dfdc0..d7d4817 100644 --- a/src/construct/blank_line.rs +++ b/src/construct/blank_line.rs @@ -46,11 +46,11 @@ use crate::tokenizer::{State, StateName, Tokenizer}; /// ^ /// ``` pub fn start(tokenizer: &mut Tokenizer) -> State { - let state_name = space_or_tab(tokenizer); + let name = space_or_tab(tokenizer); tokenizer.attempt( - state_name, - State::Fn(StateName::BlankLineAfter), - State::Fn(StateName::BlankLineAfter), + name, + State::Next(StateName::BlankLineAfter), + State::Next(StateName::BlankLineAfter), ) } -- cgit