aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-08-16 18:32:20 +0200
committerHampusM <hampus@hampusmat.com>2023-08-16 18:36:34 +0200
commitcc48563f774423fe591911fed413cf3db4ba326e (patch)
tree81fcd79ca6bc52a2d7bee2d6f56dde198422f8a6 /examples
parent096c27c0e5cc3b0f4dbf7dbf7f335acf705b9b6a (diff)
chore!: remove the factory macro async flag
BREAKING CHANGE: The factory macro's async flag has been removed
Diffstat (limited to 'examples')
-rw-r--r--examples/async-factory/main.rs2
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;