aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/async_di_container.rs4
-rw-r--r--src/di_container.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/async_di_container.rs b/src/async_di_container.rs
index 6f87f1b..7dcca57 100644
--- a/src/async_di_container.rs
+++ b/src/async_di_container.rs
@@ -1134,7 +1134,7 @@ mod tests
use crate as syrette;
#[crate::factory(threadsafe = true)]
- type IUserManagerFactory = dyn Fn(Vec<i128>) -> TransientPtr<dyn IUserManager>;
+ type IUserManagerFactory = dyn Fn(Vec<i128>) -> dyn IUserManager;
mock! {
Provider {}
@@ -1244,7 +1244,7 @@ mod tests
use crate as syrette;
#[crate::factory(threadsafe = true)]
- type IUserManagerFactory = dyn Fn(Vec<i128>) -> TransientPtr<dyn IUserManager>;
+ type IUserManagerFactory = dyn Fn(Vec<i128>) -> dyn IUserManager;
mock! {
Provider {}
diff --git a/src/di_container.rs b/src/di_container.rs
index ac75f81..3adee09 100644
--- a/src/di_container.rs
+++ b/src/di_container.rs
@@ -982,7 +982,7 @@ mod tests
use crate as syrette;
#[crate::factory]
- type IUserManagerFactory = dyn Fn(Vec<i128>) -> TransientPtr<dyn IUserManager>;
+ type IUserManagerFactory = dyn Fn(Vec<i128>) -> dyn IUserManager;
mock! {
Provider {}
@@ -1078,7 +1078,7 @@ mod tests
use crate as syrette;
#[crate::factory]
- type IUserManagerFactory = dyn Fn(Vec<i128>) -> TransientPtr<dyn IUserManager>;
+ type IUserManagerFactory = dyn Fn(Vec<i128>) -> dyn IUserManager;
mock! {
Provider {}