diff options
author | Canop <cano.petrole@gmail.com> | 2019-04-04 22:03:59 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2019-04-04 22:03:59 +0200 |
commit | 5838e78ebec752103015af0590c0eb469763c9ff (patch) | |
tree | 037c2da152d56732b3eb67a606d87b7fad52e771 /src/git_ignore.rs | |
parent | 455548b6b71ed6f859001bc0104f73b0055fc749 (diff) |
update a few crate
Diffstat (limited to 'src/git_ignore.rs')
-rw-r--r-- | src/git_ignore.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/git_ignore.rs b/src/git_ignore.rs index edfb14e..c569bad 100644 --- a/src/git_ignore.rs +++ b/src/git_ignore.rs @@ -123,9 +123,9 @@ impl GitIgnoreFilter { continue; } let ok = if rule.filename { - rule.pattern.matches_with(filename, &rule.pattern_options) + rule.pattern.matches_with(filename, rule.pattern_options) } else { - rule.pattern.matches_path_with(path, &rule.pattern_options) + rule.pattern.matches_path_with(path, rule.pattern_options) }; if ok { return rule.ok; |