aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/async/interfaces/food.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/async/interfaces/food.rs b/examples/async/interfaces/food.rs
index ae5eaef..e85519b 100644
--- a/examples/async/interfaces/food.rs
+++ b/examples/async/interfaces/food.rs
@@ -1,6 +1,6 @@
use syrette::factory;
-pub trait IFood
+pub trait IFood: Send + Sync
{
fn eat(&self);
}