summaryrefslogtreecommitdiffstats
path: root/examples/solar_system/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/solar_system/src/main.rs')
-rw-r--r--examples/solar_system/src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index bf96fee0..12184dd1 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -128,9 +128,7 @@ impl State {
}
}
-impl canvas::Program for State {
- type Message = Message;
-
+impl<Message> canvas::Program<Message> for State {
fn draw(
&self,
bounds: Rectangle,