summaryrefslogtreecommitdiffstats
path: root/crates/regex/src/strip.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/regex/src/strip.rs')
-rw-r--r--crates/regex/src/strip.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/regex/src/strip.rs b/crates/regex/src/strip.rs
index 5322e5c9..f529f47c 100644
--- a/crates/regex/src/strip.rs
+++ b/crates/regex/src/strip.rs
@@ -1,7 +1,7 @@
use grep_matcher::LineTerminator;
use regex_syntax::hir::{self, Hir, HirKind};
-use error::{Error, ErrorKind};
+use crate::error::{Error, ErrorKind};
/// Return an HIR that is guaranteed to never match the given line terminator,
/// if possible.
@@ -106,7 +106,7 @@ mod tests {
use regex_syntax::Parser;
use super::{strip_from_match, LineTerminator};
- use error::Error;
+ use crate::error::Error;
fn roundtrip(pattern: &str, byte: u8) -> String {
roundtrip_line_term(pattern, LineTerminator::byte(byte)).unwrap()