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 /examples/async-factory/main.rs | |
parent | 096c27c0e5cc3b0f4dbf7dbf7f335acf705b9b6a (diff) |
chore!: remove the factory macro async flag
BREAKING CHANGE: The factory macro's async flag has been removed
Diffstat (limited to 'examples/async-factory/main.rs')
-rw-r--r-- | examples/async-factory/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/async-factory/main.rs b/examples/async-factory/main.rs index d368a32..3335700 100644 --- a/examples/async-factory/main.rs +++ b/examples/async-factory/main.rs @@ -16,7 +16,7 @@ trait IFoo: Send + Sync fn bar(&self); } -#[factory(async = true)] +#[factory] type IFooFactory = dyn Fn(i32) -> BoxFuture<'static, TransientPtr<dyn IFoo>> + Send + Sync; |