aboutsummaryrefslogtreecommitdiff
path: root/src/async_di_container.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 /src/async_di_container.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 'src/async_di_container.rs')
-rw-r--r--src/async_di_container.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/async_di_container.rs b/src/async_di_container.rs
index 0e29e4c..7913c5a 100644
--- a/src/async_di_container.rs
+++ b/src/async_di_container.rs
@@ -14,7 +14,7 @@
//!
//! struct DatabaseService {}
//!
-//! #[injectable(IDatabaseService, { async = true })]
+//! #[injectable(IDatabaseService, async = true)]
//! impl DatabaseService
//! {
//! fn new() -> Self