style: fix rust-analyzer lint warnings

This commit is contained in:
Andrew Gallant
2020-03-15 11:48:34 -04:00
parent c4c43c733e
commit 9dd4bf8d7f
3 changed files with 6 additions and 6 deletions

View File

@@ -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,
})
}
}