Merge pull request #1710 from UnHumbleBen/patch-1

Removed unnecessary dereference in Store::find
This commit is contained in:
Alex Crichton
2019-08-07 09:33:01 -05:00
committed by GitHub

View File

@@ -85,7 +85,7 @@ impl Store {
Some(
self.data
.iter()
.filter(|todo| query.matches(*todo))
.filter(|todo| query.matches(todo))
.collect(),
)
}