summaryrefslogtreecommitdiffstats
path: root/examples/bezier_tool/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bezier_tool/src/main.rs')
-rw-r--r--examples/bezier_tool/src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/bezier_tool/src/main.rs b/examples/bezier_tool/src/main.rs
index fc7ef0c9..35b5182c 100644
--- a/examples/bezier_tool/src/main.rs
+++ b/examples/bezier_tool/src/main.rs
@@ -104,9 +104,7 @@ mod bezier {
curves: &'a [Curve],
}
- impl<'a> canvas::Program for Bezier<'a> {
- type Message = Curve;
-
+ impl<'a> canvas::Program<Curve> for Bezier<'a> {
fn update(
&mut self,
event: Event,