diff options
author | Andrew Gallant <jamslam@gmail.com> | 2021-06-01 19:29:50 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2021-06-01 21:07:37 -0400 |
commit | 459a9c563706ef84b8710fab8727b770552ed29c (patch) | |
tree | 773d47a7018b2c865c6c0048cb6aec42e26ea8d6 /crates/pcre2 | |
parent | e4c4540f6a21d2cbb335432aa19fc43f4906e273 (diff) |
edition: initial 'cargo fix --edition' run
Diffstat (limited to 'crates/pcre2')
-rw-r--r-- | crates/pcre2/src/lib.rs | 4 | ||||
-rw-r--r-- | crates/pcre2/src/matcher.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/crates/pcre2/src/lib.rs b/crates/pcre2/src/lib.rs index d7cb0156..37fa04fc 100644 --- a/crates/pcre2/src/lib.rs +++ b/crates/pcre2/src/lib.rs @@ -8,8 +8,8 @@ An implementation of `grep-matcher`'s `Matcher` trait for extern crate grep_matcher; extern crate pcre2; -pub use error::{Error, ErrorKind}; -pub use matcher::{RegexCaptures, RegexMatcher, RegexMatcherBuilder}; +pub use crate::error::{Error, ErrorKind}; +pub use crate::matcher::{RegexCaptures, RegexMatcher, RegexMatcherBuilder}; pub use pcre2::{is_jit_available, version}; mod error; diff --git a/crates/pcre2/src/matcher.rs b/crates/pcre2/src/matcher.rs index a921c91b..94a6f338 100644 --- a/crates/pcre2/src/matcher.rs +++ b/crates/pcre2/src/matcher.rs @@ -3,7 +3,7 @@ use std::collections::HashMap; use grep_matcher::{Captures, Match, Matcher}; use pcre2::bytes::{CaptureLocations, Regex, RegexBuilder}; -use error::Error; +use crate::error::Error; /// A builder for configuring the compilation of a PCRE2 regex. #[derive(Clone, Debug)] |