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 --- src/async_di_container.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3-18-g5258