From 9bed6b4d2772fd020ea9eb6eaaba4ca014d96f94 Mon Sep 17 00:00:00 2001 From: HampusM Date: Thu, 14 Sep 2023 19:41:56 +0200 Subject: refactor!: remove blocking DI container interface BREAKING CHANGE: IDIContainer have been removed and multiple structs no longer take a DI container generic parameter --- macros/src/injectable/implementation.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'macros') diff --git a/macros/src/injectable/implementation.rs b/macros/src/injectable/implementation.rs index 9e97f45..1efd1fa 100644 --- a/macros/src/injectable/implementation.rs +++ b/macros/src/injectable/implementation.rs @@ -289,7 +289,7 @@ impl InjectableImpl quote! { #maybe_doc_hidden impl #generics syrette::interfaces::injectable::Injectable< - syrette::di_container::blocking::DIContainer, + ::syrette::di_container::blocking::DIContainer > for #self_type { fn resolve( @@ -303,7 +303,6 @@ impl InjectableImpl { use std::any::type_name; - use syrette::di_container::blocking::IDIContainer; use syrette::errors::injectable::InjectableError; let self_type_name = type_name::<#self_type>(); -- cgit v1.2.3-18-g5258