aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex/enfa.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex/enfa.rs')
-rw-r--r--src/regex/enfa.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex/enfa.rs b/src/regex/enfa.rs
index ea3bc93..2947f58 100644
--- a/src/regex/enfa.rs
+++ b/src/regex/enfa.rs
@@ -736,7 +736,7 @@ impl TryFrom<Pattern> for ENFA {
states.push(EState::terminal());
Self { states, has_submatches: false, }
}
- Pattern::Submatch(pat) => {
+ Pattern::Submatch(_, pat) => {
let mut this = Self::try_from(*pat)?;
this.has_submatches = true;
this