summaryrefslogtreecommitdiff
path: root/nfa/src/default/regex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'nfa/src/default/regex.rs')
-rw-r--r--nfa/src/default/regex.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfa/src/default/regex.rs b/nfa/src/default/regex.rs
index 1e3e87b..9e1ed5c 100644
--- a/nfa/src/default/regex.rs
+++ b/nfa/src/default/regex.rs
@@ -879,9 +879,9 @@ mod test_des_rec {
use crate::desrec::DesRec;
- #[allow(dead_code, unused)]
+ #[allow(dead_code)]
fn test_scanner<'a, 'b, T>(
- parser: &'b DefaultRegParser<T>,
+ _parser: &'b DefaultRegParser<T>,
input: &'a str,
) -> Result<Option<(usize, RegexType<char>, ParseDirection)>, ParseError>
where