diff options
Diffstat (limited to 'src')
-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 d761c990..f6d3fb90 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; + type Message: std::fmt::Debug + Send + Clone; /// Initializes the [`Application`]. /// diff --git a/src/sandbox.rs b/src/sandbox.rs index 698578f4..60e3be14 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; + type Message: std::fmt::Debug + Send + Clone; /// Initializes the [`Sandbox`]. /// |