From e4fdf58b42c61482741cb12e1faa24cbd50698e8 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 17 Sep 2023 23:16:09 +0200 Subject: refactor: move castable factory to directory module --- src/di_container/blocking/binding/builder.rs | 4 ++-- src/di_container/blocking/mod.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/di_container') diff --git a/src/di_container/blocking/binding/builder.rs b/src/di_container/blocking/binding/builder.rs index 8eebcc0..6f873d0 100644 --- a/src/di_container/blocking/binding/builder.rs +++ b/src/di_container/blocking/binding/builder.rs @@ -183,7 +183,7 @@ where Interface: Fn>, Func: Fn(&DIContainer) -> Box, { - use crate::private::castable_factory::blocking::CastableFactory; + use crate::private::castable_factory::CastableFactory; if self .di_container @@ -271,7 +271,7 @@ where dyn Fn<(), Output = crate::ptr::TransientPtr>, >, { - use crate::private::castable_factory::blocking::CastableFactory; + use crate::private::castable_factory::CastableFactory; if self .di_container diff --git a/src/di_container/blocking/mod.rs b/src/di_container/blocking/mod.rs index a38b5da..69efe9a 100644 --- a/src/di_container/blocking/mod.rs +++ b/src/di_container/blocking/mod.rs @@ -445,7 +445,7 @@ mod tests #[cfg(feature = "factory")] fn can_get_factory() -> Result<(), Box> { - use crate::private::castable_factory::blocking::CastableFactory; + use crate::private::castable_factory::CastableFactory; use crate::ptr::FactoryPtr; trait IUserManager @@ -522,7 +522,7 @@ mod tests #[cfg(feature = "factory")] fn can_get_factory_named() -> Result<(), Box> { - use crate::private::castable_factory::blocking::CastableFactory; + use crate::private::castable_factory::CastableFactory; use crate::ptr::FactoryPtr; trait IUserManager -- cgit v1.2.3-18-g5258