From a1ddd1bc6e1af0d98b87126d3e86da30bc1d3f1c Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 17 Sep 2023 13:32:06 +0200 Subject: refactor!: make the blocking DI container not inside a Rc BREAKING CHANGE: The blocking DI container is no longer inside of a Rc. This affects BindingBuilder, BindingScopeConfigurator, BindingWhenConfigurator & Injectable --- macros/src/injectable/implementation.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'macros/src/injectable') diff --git a/macros/src/injectable/implementation.rs b/macros/src/injectable/implementation.rs index 935a8ae..3e22f91 100644 --- a/macros/src/injectable/implementation.rs +++ b/macros/src/injectable/implementation.rs @@ -292,9 +292,7 @@ impl InjectableImpl > for #self_type { fn resolve( - #di_container_var: &std::rc::Rc< - syrette::di_container::blocking::DIContainer - >, + #di_container_var: &syrette::di_container::blocking::DIContainer, mut #dependency_history_var: syrette::dependency_history::DependencyHistory ) -> Result< syrette::ptr::TransientPtr, -- cgit v1.2.3-18-g5258