Remove unnecessary call
This commit is contained in:
parent
3bdd5c959b
commit
54c5854761
1 changed files with 1 additions and 2 deletions
|
@ -157,14 +157,13 @@ impl StoreId {
|
|||
self.id
|
||||
.components()
|
||||
.zip(colls.as_ref().iter())
|
||||
.map(|(component, pred_coll)| match component {
|
||||
.all(|(component, pred_coll)| match component {
|
||||
Component::Normal(ref s) => s
|
||||
.to_str()
|
||||
.map(|ref s| s == &pred_coll.as_ref())
|
||||
.unwrap_or(false),
|
||||
_ => false
|
||||
})
|
||||
.all(|x| x)
|
||||
}
|
||||
|
||||
pub fn local_push<P: AsRef<Path>>(&mut self, path: P) {
|
||||
|
|
Loading…
Reference in a new issue