aboutsummaryrefslogtreecommitdiff
path: root/src/provider.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-07-27 15:17:33 +0200
committerHampusM <hampus@hampusmat.com>2022-07-31 12:15:18 +0200
commit3fbf26181f1b4b9e594debb103fd347bd93240ea (patch)
tree63cf13edb5ea21a6cbbcfcf474611820382a5048 /src/provider.rs
parent224e59112e65ce6cbafe5a87dba031dd11e936a8 (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.rs4
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>),
}