Skip to content

Commit 04ad1ea

Browse files
committed
Merge pull request #182 from mcarton/fix-macros
Fix regex_macros
2 parents 82e7725 + 3baea20 commit 04ad1ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

regex_macros/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ fn exec<'t>(
434434
fn step_insts(&self) -> P<ast::Expr> {
435435
let arms = self.prog.iter().enumerate().map(|(pc, inst)| {
436436
let body = match *inst {
437-
Inst::Match => quote_expr!(self.cx, {
437+
Inst::Match(_) => quote_expr!(self.cx, {
438438
for (slot, val) in caps.iter_mut().zip(thread_caps.iter()) {
439439
*slot = *val;
440440
}

0 commit comments

Comments
 (0)