diff options
author | HampusM <hampus@hampusmat.com> | 2022-09-02 18:45:30 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-09-02 18:45:30 +0200 |
commit | 40109b5298160795cedca4c8204c8a1dd0bcd0be (patch) | |
tree | 083dc34f2824087bda7015b1d9e4eaa5b9445ac3 /examples/async/animals/human.rs | |
parent | 14a91d97c5e2f3184f2b91003ab8e2bc5a92b312 (diff) |
refactor!: remove braces from expected injectable macro input
BREAKING CHANGE: The injectable macro no longer expects braces around it's flags
Diffstat (limited to 'examples/async/animals/human.rs')
-rw-r--r-- | examples/async/animals/human.rs | 2 |
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>) |