From 75bd66b0ccd134d71af19ff702e1f7d5224ad8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20F=C3=A4rber?= <01mf02@gmail.com> Date: Wed, 26 Jun 2024 12:03:39 +0200 Subject: [PATCH] Unambiguously identify regex module. --- jaq-core/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jaq-core/src/lib.rs b/jaq-core/src/lib.rs index 660a4b990..d76766d0f 100644 --- a/jaq-core/src/lib.rs +++ b/jaq-core/src/lib.rs @@ -609,7 +609,7 @@ where let re_flags = re.cartesian(flags, (cv.0, cv.1.clone())); Box::new(re_flags.map(move |(re, flags)| { - use regex::Part::{Matches, Mismatch}; + use crate::regex::Part::{Matches, Mismatch}; let fail_flag = |e| Error::str(format_args!("invalid regex flag: {e}")); let fail_re = |e| Error::str(format_args!("invalid regex: {e}"));