From a00dcba7d7a0566e8cfb40e1548d2e55e6c79689 Mon Sep 17 00:00:00 2001 From: Will Sturgeon Date: Tue, 14 Nov 2023 10:44:47 -0500 Subject: [PATCH] Inductive call: another `Transition` instead of forcing a lateral move --- automata/src/transition.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automata/src/transition.rs b/automata/src/transition.rs index ee600ab..51aa9ed 100644 --- a/automata/src/transition.rs +++ b/automata/src/transition.rs @@ -30,7 +30,7 @@ pub enum Transition> { /// Call (and require a successful run from) this state before continuing. detour: C, /// After the call has succeeded, go to this state. - dst: C, + dst: Box, /// Combine the cached results and the results of the called parser with this function. combine: FF, },