summaryrefslogtreecommitdiffstats
path: root/examples/pure
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pure')
-rw-r--r--examples/pure/game_of_life/src/main.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/pure/game_of_life/src/main.rs b/examples/pure/game_of_life/src/main.rs
index f63ef41b..a3164701 100644
--- a/examples/pure/game_of_life/src/main.rs
+++ b/examples/pure/game_of_life/src/main.rs
@@ -394,8 +394,7 @@ mod grid {
}
}
- impl canvas::Program for Grid {
- type Message = Message;
+ impl canvas::Program<Message> for Grid {
type State = Interaction;
fn update(