summaryrefslogtreecommitdiffstats
path: root/src/pure/sandbox.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/pure/sandbox.rs')
-rw-r--r--src/pure/sandbox.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pure/sandbox.rs b/src/pure/sandbox.rs
index def90b6b..fbd1d7a8 100644
--- a/src/pure/sandbox.rs
+++ b/src/pure/sandbox.rs
@@ -32,7 +32,7 @@ pub trait Sandbox {
/// Returns the widgets to display in the [`Sandbox`].
///
/// These widgets can produce __messages__ based on user interaction.
- fn view(&self) -> pure::Element<Self::Message>;
+ fn view(&self) -> pure::Element<'_, Self::Message>;
/// Returns the background color of the [`Sandbox`].
///
@@ -101,7 +101,7 @@ where
Subscription::none()
}
- fn view(&self) -> pure::Element<T::Message> {
+ fn view(&self) -> pure::Element<'_, T::Message> {
T::view(self)
}