Skip to content

Commit

Permalink
Inductive call: another Transition instead of forcing a lateral move
Browse files Browse the repository at this point in the history
  • Loading branch information
wrsturgeon committed Nov 14, 2023
1 parent e2076f1 commit a00dcba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automata/src/transition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub enum Transition<I: Input, C: Ctrl<I>> {
/// 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<Self>,
/// Combine the cached results and the results of the called parser with this function.
combine: FF,
},
Expand Down

0 comments on commit a00dcba

Please sign in to comment.