From 7a68649014d5ff215fe2242ebd200916f2e773c9 Mon Sep 17 00:00:00 2001 From: HampusM Date: Wed, 21 Sep 2022 19:54:27 +0200 Subject: docs: make IFood in async example Send + Sync --- examples/async/interfaces/food.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3-18-g5258