summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/application.rs2
-rw-r--r--src/sandbox.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/application.rs b/src/application.rs
index b3dae1b3..42c28f99 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -99,7 +99,7 @@ pub trait Application: Sized {
type Executor: Executor;
/// The type of __messages__ your [`Application`] will produce.
- type Message: std::fmt::Debug + Send;
+ type Message: std::fmt::Debug + Clone + Send;
/// The data needed to initialize your [`Application`].
type Flags;
diff --git a/src/sandbox.rs b/src/sandbox.rs
index 10b05a92..cb3cf624 100644
--- a/src/sandbox.rs
+++ b/src/sandbox.rs
@@ -88,7 +88,7 @@ use crate::{
/// ```
pub trait Sandbox {
/// The type of __messages__ your [`Sandbox`] will produce.
- type Message: std::fmt::Debug + Send;
+ type Message: std::fmt::Debug + Clone + Send;
/// Initializes the [`Sandbox`].
///