Skip to content

Commit 49acddf

Browse files
authored
Merge pull request #1710 from UnHumbleBen/patch-1
Removed unnecessary dereference in Store::find
2 parents 0ab6956 + 50683f0 commit 49acddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/todomvc/src/store.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl Store {
8585
Some(
8686
self.data
8787
.iter()
88-
.filter(|todo| query.matches(*todo))
88+
.filter(|todo| query.matches(todo))
8989
.collect(),
9090
)
9191
}

0 commit comments

Comments
 (0)