We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7f5753 commit 141747eCopy full SHA for 141747e
src/rules_manager.rs
@@ -64,7 +64,7 @@ impl RulesManager {
64
65
let mut whitelist_regexes = Vec::new();
66
for whitelist_pattern in whitelist_patterns.iter() {
67
- let whitelist_regex = match Regex::new(&whitelist_pattern) {
+ let whitelist_regex = match Regex::new(whitelist_pattern) {
68
Ok(whitelist_regex) => whitelist_regex,
69
Err(error) => {
70
return Err(
@@ -86,7 +86,7 @@ impl RulesManager {
86
87
let mut blacklist_regexes = Vec::new();
88
for blacklist_pattern in blacklist_patterns.iter() {
89
- let blacklist_regex = match Regex::new(&blacklist_pattern) {
+ let blacklist_regex = match Regex::new(blacklist_pattern) {
90
Ok(blacklist_regex) => blacklist_regex,
91
92
0 commit comments