summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2021-09-15 15:50:25 +0700
committerLibravatar GitHub <noreply@github.com>2021-09-15 15:50:25 +0700
commit099981cfc2f61a1f37e84100592d65babb94fb82 (patch)
tree1b063e251d92f8bc63f0f27a20e78d178f6bd532 /native
parent5870cbb312ec5de1219b6983e09e460419d95912 (diff)
parentc0ab9888426b7d1f2606afafc9dba06eed7f9419 (diff)
downloadiced-099981cfc2f61a1f37e84100592d65babb94fb82.tar.gz
iced-099981cfc2f61a1f37e84100592d65babb94fb82.tar.bz2
iced-099981cfc2f61a1f37e84100592d65babb94fb82.zip
Merge pull request #1047 from iced-rs/revert-menus
Revert system menus support
Diffstat (limited to 'native')
-rw-r--r--native/src/lib.rs4
-rw-r--r--native/src/program.rs2
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`].
///