aboutsummaryrefslogtreecommitdiff
path: root/src/async_di_container.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/async_di_container.rs')
-rw-r--r--src/async_di_container.rs4
1 files changed, 2 insertions, 2 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 {}