diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-16 18:32:20 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-16 18:36:34 +0200 |
commit | cc48563f774423fe591911fed413cf3db4ba326e (patch) | |
tree | 81fcd79ca6bc52a2d7bee2d6f56dde198422f8a6 /src/di_container | |
parent | 096c27c0e5cc3b0f4dbf7dbf7f335acf705b9b6a (diff) |
chore!: remove the factory macro async flag
BREAKING CHANGE: The factory macro's async flag has been removed
Diffstat (limited to 'src/di_container')
-rw-r--r-- | src/di_container/asynchronous/binding/builder.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/di_container/asynchronous/binding/builder.rs b/src/di_container/asynchronous/binding/builder.rs index 306d196..9fa5115 100644 --- a/src/di_container/asynchronous/binding/builder.rs +++ b/src/di_container/asynchronous/binding/builder.rs @@ -238,7 +238,7 @@ where /// # /// # impl Foo for Bar {} /// # - /// # #[factory(async = true)] + /// # #[factory] /// # type FooFactory = dyn Fn(i32, String) -> BoxFuture< /// # 'static, /// # TransientPtr<dyn Foo> @@ -602,7 +602,7 @@ mod tests use crate::{self as syrette, factory}; #[rustfmt::skip] - #[factory(async = true)] + #[factory] type IUserManagerFactory = dyn Fn(String) -> BoxFuture< 'static, TransientPtr<dyn subjects_async::IUserManager> |