diff options
author | HampusM <hampus@hampusmat.com> | 2022-07-27 15:17:33 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-07-31 12:15:18 +0200 |
commit | 3fbf26181f1b4b9e594debb103fd347bd93240ea (patch) | |
tree | 63cf13edb5ea21a6cbbcfcf474611820382a5048 /src/provider.rs | |
parent | 224e59112e65ce6cbafe5a87dba031dd11e936a8 (diff) |
refactor!: rename InterfacePtr to TransientPtr
BREAKING CHANGE: InterfacePtr has been renamed to TransientPtr
Diffstat (limited to 'src/provider.rs')
-rw-r--r-- | src/provider.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/provider.rs b/src/provider.rs index bd17474..eb5b5d8 100644 --- a/src/provider.rs +++ b/src/provider.rs @@ -4,14 +4,14 @@ use std::marker::PhantomData; use crate::errors::injectable::ResolveError; use crate::interfaces::any_factory::AnyFactory; use crate::interfaces::injectable::Injectable; -use crate::ptr::{FactoryPtr, InterfacePtr}; +use crate::ptr::{FactoryPtr, TransientPtr}; use crate::DIContainer; extern crate error_stack; pub enum Providable { - Injectable(InterfacePtr<dyn Injectable>), + Injectable(TransientPtr<dyn Injectable>), #[allow(dead_code)] Factory(FactoryPtr<dyn AnyFactory>), } |