From cf0230072c01ea9523f4d98a3656f5c975b3f347 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 26 May 2022 23:07:34 +0200 Subject: Rename `Variant` to `Style` and `Style` to `Appearance` --- examples/component/src/main.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'examples/component') diff --git a/examples/component/src/main.rs b/examples/component/src/main.rs index d863c58f..ec7c658f 100644 --- a/examples/component/src/main.rs +++ b/examples/component/src/main.rs @@ -96,7 +96,6 @@ mod numeric_input { where Renderer: 'a + text::Renderer, Renderer::Theme: button::StyleSheet, - ::Variant: Default + Copy, { type Event = Event; @@ -175,7 +174,6 @@ mod numeric_input { Message: 'a, Renderer: text::Renderer + 'a, Renderer::Theme: button::StyleSheet, - ::Variant: Default + Copy, { fn from(numeric_input: NumericInput<'a, Message>) -> Self { component::view(numeric_input) -- cgit