From 40109b5298160795cedca4c8204c8a1dd0bcd0be Mon Sep 17 00:00:00 2001 From: HampusM Date: Fri, 2 Sep 2022 18:45:30 +0200 Subject: refactor!: remove braces from expected injectable macro input BREAKING CHANGE: The injectable macro no longer expects braces around it's flags --- examples/async/animals/human.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/async/animals/human.rs') 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, } -#[injectable(IHuman, { async = true })] +#[injectable(IHuman, async = true)] impl Human { pub fn new(dog: ThreadsafeSingletonPtr, cat: TransientPtr) -- cgit v1.2.3-18-g5258