aboutsummaryrefslogtreecommitdiff
path: root/examples/async/animals/human.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/async/animals/human.rs')
-rw-r--r--examples/async/animals/human.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/async/animals/human.rs b/examples/async/animals/human.rs
index 140f27c..fc98ed8 100644
--- a/examples/async/animals/human.rs
+++ b/examples/async/animals/human.rs
@@ -11,7 +11,7 @@ pub struct Human
cat: TransientPtr<dyn ICat>,
}
-#[injectable(IHuman, { async = true })]
+#[injectable(IHuman, async = true)]
impl Human
{
pub fn new(dog: ThreadsafeSingletonPtr<dyn IDog>, cat: TransientPtr<dyn ICat>)