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
commit 49acddf88e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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