diff options
Diffstat (limited to 'src/di_container.rs')
-rw-r--r-- | src/di_container.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 {} |