aboutsummaryrefslogtreecommitdiff
path: root/macros
diff options
context:
space:
mode:
Diffstat (limited to 'macros')
-rw-r--r--macros/src/factory/build_declare_interfaces.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/macros/src/factory/build_declare_interfaces.rs b/macros/src/factory/build_declare_interfaces.rs
index e4fc01b..38dd35d 100644
--- a/macros/src/factory/build_declare_interfaces.rs
+++ b/macros/src/factory/build_declare_interfaces.rs
@@ -33,18 +33,18 @@ pub fn build_declare_factory_interfaces(
quote! {
syrette::declare_interface!(
syrette::private::castable_factory::blocking::CastableFactory<
- (std::rc::Rc<syrette::DIContainer>,),
- #factory_interface
+ #factory_interface,
+ syrette::di_container::blocking::DIContainer
> -> syrette::private::factory::IFactory<
- (std::rc::Rc<syrette::DIContainer>,),
- #factory_interface
+ #factory_interface,
+ syrette::di_container::blocking::DIContainer
>
);
syrette::declare_interface!(
syrette::private::castable_factory::blocking::CastableFactory<
- (std::rc::Rc<syrette::DIContainer>,),
- #factory_interface
+ #factory_interface,
+ syrette::di_container::blocking::DIContainer
> -> syrette::private::any_factory::AnyFactory
);
}