summaryrefslogtreecommitdiffstats
path: root/wgpu/src/widget/toggler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src/widget/toggler.rs')
-rw-r--r--wgpu/src/widget/toggler.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/wgpu/src/widget/toggler.rs b/wgpu/src/widget/toggler.rs
index 7c3cc430..7ef5e22e 100644
--- a/wgpu/src/widget/toggler.rs
+++ b/wgpu/src/widget/toggler.rs
@@ -6,4 +6,5 @@ pub use iced_graphics::toggler::{Style, StyleSheet};
/// A toggler that can be toggled
///
/// This is an alias of an `iced_native` toggler with an `iced_wgpu::Renderer`.
-pub type Toggler<Message> = iced_native::widget::Toggler<Message, Renderer>;
+pub type Toggler<'a, Message> =
+ iced_native::widget::Toggler<'a, Message, Renderer>;