summaryrefslogtreecommitdiffstats
path: root/crates/regex/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/regex/src/config.rs')
-rw-r--r--crates/regex/src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/regex/src/config.rs b/crates/regex/src/config.rs
index 1f81a802..6d2813ae 100644
--- a/crates/regex/src/config.rs
+++ b/crates/regex/src/config.rs
@@ -87,7 +87,7 @@ impl Config {
Ok(ConfiguredHIR {
original: pattern.to_string(),
config: self.clone(),
- analysis: analysis,
+ analysis,
// If CRLF mode is enabled, replace `$` with `(?:\r?$)`.
expr: if self.crlf { crlfify(expr) } else { expr },
})
@@ -282,7 +282,7 @@ impl ConfiguredHIR {
original: self.original.clone(),
config: self.config.clone(),
analysis: self.analysis.clone(),
- expr: expr,
+ expr,
})
}
}