mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
clippy: Fix new clippy rules
This commit is contained in:
+1
-1
@@ -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)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user