diff options
author | HampusM <hampus@hampusmat.com> | 2022-09-24 17:39:48 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-09-24 17:39:48 +0200 |
commit | 41ad17ad928f375daef108e0de536b0f2e8fa239 (patch) | |
tree | 83cbb346641b0cb6049d94d2abb946f1d79332e4 /src | |
parent | fdd7f824fd1244226ca86f525f8439744676688f (diff) |
refactor: remove unused import in DI container module
Diffstat (limited to 'src')
-rw-r--r-- | src/di_container.rs | 3 |
1 files changed, 2 insertions, 1 deletions
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<Interface> @@ -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::<dyn IFactory< |