Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Geal committed Oct 28, 2023
1 parent d2a37ea commit cfe50fa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/state/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ mod tests {
fn state_update() {
fn a(i: &str) -> IResult<&str, &str, ()> {
on_input::<u8, &str, _, _, _>(preceded(tag("a"), b), |state, input| {
println!("state = {state}, input = {input}");
if *state == 3 {
println!("returning Failure");
ControlFlow::Break(Err(Err::Failure(())))
} else {
*state += 1;
Expand Down

0 comments on commit cfe50fa

Please sign in to comment.