diff --git a/examples/todomvc/src/store.rs b/examples/todomvc/src/store.rs index cb803b26e..d1028da8e 100644 --- a/examples/todomvc/src/store.rs +++ b/examples/todomvc/src/store.rs @@ -85,7 +85,7 @@ impl Store { Some( self.data .iter() - .filter(|todo| query.matches(*todo)) + .filter(|todo| query.matches(todo)) .collect(), ) }