summaryrefslogtreecommitdiffstats
path: root/examples/pure/component/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pure/component/src/main.rs')
-rw-r--r--examples/pure/component/src/main.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/pure/component/src/main.rs b/examples/pure/component/src/main.rs
index 2f98f768..2c065231 100644
--- a/examples/pure/component/src/main.rs
+++ b/examples/pure/component/src/main.rs
@@ -90,8 +90,6 @@ mod numeric_input {
where
Renderer: text::Renderer + 'static,
Renderer::Theme: widget::button::StyleSheet,
- <Renderer::Theme as widget::button::StyleSheet>::Variant:
- Default + Copy,
{
type State = ();
type Event = Event;
@@ -163,8 +161,6 @@ mod numeric_input {
Message: 'a,
Renderer: 'static + text::Renderer,
Renderer::Theme: widget::button::StyleSheet,
- <Renderer::Theme as widget::button::StyleSheet>::Variant:
- Default + Copy,
{
fn from(numeric_input: NumericInput<Message>) -> Self {
pure::component(numeric_input)