diff options
Diffstat (limited to 'examples/custom_shader/src/main.rs')
-rw-r--r-- | examples/custom_shader/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/custom_shader/src/main.rs b/examples/custom_shader/src/main.rs index 3bfa3a43..78b2fbbb 100644 --- a/examples/custom_shader/src/main.rs +++ b/examples/custom_shader/src/main.rs @@ -8,8 +8,8 @@ use iced::widget::shader::wgpu; use iced::widget::{checkbox, column, container, row, shader, slider, text}; use iced::window; use iced::{ - Alignment, Application, Color, Command, Element, Length, Renderer, - Subscription, Theme, + Alignment, Application, Color, Command, Element, Length, Subscription, + Theme, }; fn main() -> iced::Result { @@ -72,7 +72,7 @@ impl Application for IcedCubes { Command::none() } - fn view(&self) -> Element<'_, Self::Message, Renderer<Self::Theme>> { + fn view(&self) -> Element<'_, Self::Message> { let top_controls = row![ control( "Amount", |