Skip to content

Commit

Permalink
Merge pull request #1710 from UnHumbleBen/patch-1
Browse files Browse the repository at this point in the history
Removed unnecessary dereference in Store::find
  • Loading branch information
alexcrichton authored Aug 7, 2019
2 parents 0ab6956 + 50683f0 commit 49acddf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/todomvc/src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ impl Store {
Some(
self.data
.iter()
.filter(|todo| query.matches(*todo))
.filter(|todo| query.matches(todo))
.collect(),
)
}
Expand Down

0 comments on commit 49acddf

Please sign in to comment.