ok/jj
1
0
Fork 0
forked from mirrors/jj

matchers: rename AlwaysMatcher to EverythingMatcher

This commit is contained in:
Martin von Zweigbergk 2021-05-16 21:17:01 -07:00
parent 45bb748f9b
commit b6038399f0

View file

@ -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
} }