diff options
author | 2020-01-13 20:28:21 +0100 | |
---|---|---|
committer | 2020-01-13 20:28:21 +0100 | |
commit | 142dc1e9628fba934bdfd83f3fbaf0fbfd852285 (patch) | |
tree | 0da6149ae1c9be912270b74261ad67b906474939 /src | |
parent | bad1bab9e894f917e5bfc8bfccfe7763af6d1a67 (diff) | |
parent | 0cbd6668759c8246c5224b5876e7ef0888fe445f (diff) | |
download | iced-142dc1e9628fba934bdfd83f3fbaf0fbfd852285.tar.gz iced-142dc1e9628fba934bdfd83f3fbaf0fbfd852285.tar.bz2 iced-142dc1e9628fba934bdfd83f3fbaf0fbfd852285.zip |
Merge pull request #155 from ejmahler/remove-clone
Remove Clone bound on Application::Message
Diffstat (limited to '')
-rw-r--r-- | src/application.rs | 2 | ||||
-rw-r--r-- | src/sandbox.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/application.rs b/src/application.rs index 7dd76774..5ea64ba8 100644 --- a/src/application.rs +++ b/src/application.rs @@ -83,7 +83,7 @@ pub trait Application: Sized { /// The type of __messages__ your [`Application`] will produce. /// /// [`Application`]: trait.Application.html - type Message: std::fmt::Debug + Send + Clone; + type Message: std::fmt::Debug + Send; /// Initializes the [`Application`]. /// diff --git a/src/sandbox.rs b/src/sandbox.rs index 75020b16..dda4c3f5 100644 --- a/src/sandbox.rs +++ b/src/sandbox.rs @@ -81,7 +81,7 @@ pub trait Sandbox { /// The type of __messages__ your [`Sandbox`] will produce. /// /// [`Sandbox`]: trait.Sandbox.html - type Message: std::fmt::Debug + Send + Clone; + type Message: std::fmt::Debug + Send; /// Initializes the [`Sandbox`]. /// |