aboutsummaryrefslogtreecommitdiff
path: root/examples/async/animals/cat.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-09-02 18:45:30 +0200
committerHampusM <hampus@hampusmat.com>2022-09-02 18:45:30 +0200
commit40109b5298160795cedca4c8204c8a1dd0bcd0be (patch)
tree083dc34f2824087bda7015b1d9e4eaa5b9445ac3 /examples/async/animals/cat.rs
parent14a91d97c5e2f3184f2b91003ab8e2bc5a92b312 (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/cat.rs')
-rw-r--r--examples/async/animals/cat.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/async/animals/cat.rs b/examples/async/animals/cat.rs
index b1e6f27..7062929 100644
--- a/examples/async/animals/cat.rs
+++ b/examples/async/animals/cat.rs
@@ -4,7 +4,7 @@ use crate::interfaces::cat::ICat;
pub struct Cat {}
-#[injectable(ICat, { async = true })]
+#[injectable(ICat, async = true)]
impl Cat
{
pub fn new() -> Self