mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-15 17:50:51 +00:00
Removed unnecessary dereference in Store::find
Prefer no dereference when it is not needed. `todo` has type `&&Item`. Argument needs to be `&Item`, but this is converted via deref coercion.
This commit is contained in:
parent
0ab6956747
commit
50683f0c3c
@ -85,7 +85,7 @@ impl Store {
|
||||
Some(
|
||||
self.data
|
||||
.iter()
|
||||
.filter(|todo| query.matches(*todo))
|
||||
.filter(|todo| query.matches(todo))
|
||||
.collect(),
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user