clippy: Fix new clippy rules

This commit is contained in:
andy.boot
2023-01-26 23:20:29 +00:00
parent 83ef2525aa
commit 810cc8b604
4 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -90,7 +90,7 @@ fn get_regex_value(maybe_value: Option<Values>) -> Vec<Regex> {
.unwrap_or_default()
.map(|reg| {
Regex::new(reg).unwrap_or_else(|err| {
eprintln!("Ignoring bad value for regex {:?}", err);
eprintln!("Ignoring bad value for regex {err:?}");
process::exit(1)
})
})