From 41ad17ad928f375daef108e0de536b0f2e8fa239 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sat, 24 Sep 2022 17:39:48 +0200 Subject: refactor: remove unused import in DI container module --- src/di_container.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/di_container.rs b/src/di_container.rs index 45c3be8..d86f593 100644 --- a/src/di_container.rs +++ b/src/di_container.rs @@ -71,7 +71,7 @@ use crate::provider::blocking::{ SingletonProvider, TransientTypeProvider, }; -use crate::ptr::{SingletonPtr, SomePtr, TransientPtr}; +use crate::ptr::{SingletonPtr, SomePtr}; /// When configurator for a binding for type 'Interface' inside a [`DIContainer`]. pub struct BindingWhenConfigurator @@ -446,6 +446,7 @@ impl DIContainer #[cfg(feature = "factory")] Providable::DefaultFactory(factory_binding) => { use crate::interfaces::factory::IFactory; + use crate::ptr::TransientPtr; let default_factory = factory_binding .cast::