diff options
Diffstat (limited to '')
-rw-r--r-- | native/src/lib.rs | 4 | ||||
-rw-r--r-- | native/src/program.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/native/src/lib.rs b/native/src/lib.rs index 573be51d..cb0600e2 100644 --- a/native/src/lib.rs +++ b/native/src/lib.rs @@ -62,8 +62,8 @@ mod debug; mod debug; pub use iced_core::{ - menu, Align, Background, Color, Font, HorizontalAlignment, Length, Menu, - Padding, Point, Rectangle, Size, Vector, VerticalAlignment, + Align, Background, Color, Font, HorizontalAlignment, Length, Padding, + Point, Rectangle, Size, Vector, VerticalAlignment, }; pub use iced_futures::{executor, futures}; diff --git a/native/src/program.rs b/native/src/program.rs index fa83c0b1..9ee72703 100644 --- a/native/src/program.rs +++ b/native/src/program.rs @@ -11,7 +11,7 @@ pub trait Program: Sized { type Renderer: Renderer; /// The type of __messages__ your [`Program`] will produce. - type Message: std::fmt::Debug + Clone + Send; + type Message: std::fmt::Debug + Send; /// Handles a __message__ and updates the state of the [`Program`]. /// |