From 70d018634438653ce6d3667cab6e71c9f6667ca3 Mon Sep 17 00:00:00 2001 From: Erich Gubler Date: Tue, 10 Oct 2023 12:49:27 -0400 Subject: [PATCH] fix: remove `debug_assertions` check causing `release` builds to fail --- src/combinator.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/combinator.rs b/src/combinator.rs index af2980d3..0cab264f 100644 --- a/src/combinator.rs +++ b/src/combinator.rs @@ -2290,7 +2290,6 @@ where let mut a_out = M::bind(Vec::new); let mut iter_state = self.parser_a.make_iter::(inp)?; loop { - #[cfg(debug_assertions)] let before = inp.offset(); match self.parser_a.next::(inp, &mut iter_state) { Ok(Some(out)) => {