forked from mirrors/jj
matchers: rename AlwaysMatcher to EverythingMatcher
This commit is contained in:
parent
45bb748f9b
commit
b6038399f0
1 changed files with 2 additions and 2 deletions
|
@ -42,9 +42,9 @@ pub trait Matcher {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(PartialEq, Eq, Debug)]
|
#[derive(PartialEq, Eq, Debug)]
|
||||||
pub struct AlwaysMatcher;
|
pub struct EverythingMatcher;
|
||||||
|
|
||||||
impl Matcher for AlwaysMatcher {
|
impl Matcher for EverythingMatcher {
|
||||||
fn matches(&self, _file: &FileRepoPath) -> bool {
|
fn matches(&self, _file: &FileRepoPath) -> bool {
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue