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