aboutsummaryrefslogtreecommitdiff
path: root/src/test_utils.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-08-04 16:32:46 +0200
committerHampusM <hampus@hampusmat.com>2023-08-04 16:32:46 +0200
commite0216c7cbf008f2867ef92955abce28dba27f5e3 (patch)
tree92f1f25dad7691b781b621c84e21478e5d182847 /src/test_utils.rs
parent14e45fe9aa2431120cfd6a7240f8bb94e45e730d (diff)
refactor: rename CastFromSync to CastFromArc
Diffstat (limited to 'src/test_utils.rs')
-rw-r--r--src/test_utils.rs4
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 {}
}