summaryrefslogtreecommitdiffstats
path: root/examples/integration
diff options
context:
space:
mode:
Diffstat (limited to 'examples/integration')
-rw-r--r--examples/integration/src/controls.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/integration/src/controls.rs b/examples/integration/src/controls.rs
index 0457a058..0999336b 100644
--- a/examples/integration/src/controls.rs
+++ b/examples/integration/src/controls.rs
@@ -29,10 +29,7 @@ impl Controls {
}
}
- pub fn view<'a>(
- &'a mut self,
- scene: &Scene,
- ) -> Element<'a, Message, Renderer> {
+ pub fn view(&mut self, scene: &Scene) -> Element<Message, Renderer> {
let [r, g, b] = &mut self.sliders;
let background_color = scene.background_color;