diff options
Diffstat (limited to 'src/test_utils.rs')
-rw-r--r-- | src/test_utils.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test_utils.rs b/src/test_utils.rs index 8f07fa9..97fe620 100644 --- a/src/test_utils.rs +++ b/src/test_utils.rs @@ -10,7 +10,7 @@ pub mod subjects use crate::dependency_history::IDependencyHistory; use crate::di_container::blocking::IDIContainer; use crate::interfaces::injectable::Injectable; - use crate::private::cast::CastFromSync; + use crate::private::cast::CastFromArc; use crate::ptr::TransientPtr; pub trait IUserManager @@ -135,7 +135,7 @@ pub mod subjects #[derive(Debug)] pub struct Ninja; - pub trait INinja: CastFromSync {} + pub trait INinja: CastFromArc {} impl INinja for Ninja {} } |