regex: some minor polish

I think I already did a clean-up of this crate when I moved it to regex
1.9, so the polish here is very minor.
This commit is contained in:
Andrew Gallant
2023-09-25 17:21:28 -04:00
parent 798f8981eb
commit 82d3183a04
6 changed files with 16 additions and 127 deletions

View File

@@ -3,8 +3,10 @@ An implementation of `grep-matcher`'s `Matcher` trait for Rust's regex engine.
*/
#![deny(missing_docs)]
pub use crate::error::{Error, ErrorKind};
pub use crate::matcher::{RegexCaptures, RegexMatcher, RegexMatcherBuilder};
pub use crate::{
error::{Error, ErrorKind},
matcher::{RegexCaptures, RegexMatcher, RegexMatcherBuilder},
};
mod ast;
mod config;