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 { let [r, g, b] = &mut self.sliders; let background_color = scene.background_color;