mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 20:07:01 +05:30
refactor: use fully qualified variant name
This commit is contained in:
parent
4684713d7e
commit
eb3074d324
1 changed files with 4 additions and 2 deletions
|
@ -86,8 +86,10 @@ impl Match for Matcher<'_> {
|
|||
impl Match for MatcherType<'_> {
|
||||
fn check_match(&self, string: &str) -> bool {
|
||||
match self {
|
||||
Self::Single(matcher) => matcher.check_match(string),
|
||||
Self::Multiple(matchers) => matchers.iter().all(|matcher| matcher.check_match(string)),
|
||||
MatcherType::Single(matcher) => matcher.check_match(string),
|
||||
MatcherType::Multiple(matchers) => {
|
||||
matchers.iter().all(|matcher| matcher.check_match(string))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue