Skip to content

Commit

Permalink
Merge pull request #544 from ErichDonGubler/fix-1.a5
Browse files Browse the repository at this point in the history
fix: remove `debug_assertions` check causing `release` builds to fail
  • Loading branch information
zesterer authored Oct 10, 2023
2 parents 03771f5 + 70d0186 commit ce252ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/combinator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2290,7 +2290,6 @@ where
let mut a_out = M::bind(Vec::new);
let mut iter_state = self.parser_a.make_iter::<M>(inp)?;
loop {
#[cfg(debug_assertions)]
let before = inp.offset();
match self.parser_a.next::<M>(inp, &mut iter_state) {
Ok(Some(out)) => {
Expand Down

0 comments on commit ce252ef

Please sign in to comment.