aboutsummaryrefslogtreecommitdiff
path: root/macros/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'macros/src/lib.rs')
-rw-r--r--macros/src/lib.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/macros/src/lib.rs b/macros/src/lib.rs
index 2715f3d..2cd57f0 100644
--- a/macros/src/lib.rs
+++ b/macros/src/lib.rs
@@ -225,9 +225,7 @@ pub fn factory(args_stream: TokenStream, type_alias_stream: TokenStream) -> Toke
factory_interface.output = parse(
if is_async {
quote! {
- std::pin::Pin<Box<
- dyn std::future::Future<Output = syrette::ptr::TransientPtr<#output>>
- >>
+ syrette::future::BoxFuture<'static, syrette::ptr::TransientPtr<#output>>
}
} else {
quote! {