diff --git a/examples/todomvc.rs b/examples/todomvc.rs index bce2d2e9c..ea2e528a1 100644 --- a/examples/todomvc.rs +++ b/examples/todomvc.rs @@ -16,9 +16,7 @@ enum FilterState { Completed, } -#[derive(Debug, PartialEq, Eq)] struct TodoItem { - id: u32, checked: bool, contents: String, } @@ -120,7 +118,6 @@ fn TodoHeader(mut todos: Signal>) -> Element { if evt.key() == Key::Enter && !draft.read().is_empty() { let id = todo_id(); let todo = TodoItem { - id, checked: false, contents: draft.to_string(), };