aboutsummaryrefslogtreecommitdiff
path: root/src/private/any_factory.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/private/any_factory.rs
parent14e45fe9aa2431120cfd6a7240f8bb94e45e730d (diff)
refactor: rename CastFromSync to CastFromArc
Diffstat (limited to 'src/private/any_factory.rs')
-rw-r--r--src/private/any_factory.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/private/any_factory.rs b/src/private/any_factory.rs
index bdd68a6..64af57e 100644
--- a/src/private/any_factory.rs
+++ b/src/private/any_factory.rs
@@ -2,10 +2,10 @@
use std::fmt::Debug;
-use crate::private::cast::{CastFrom, CastFromSync};
+use crate::private::cast::{CastFrom, CastFromArc};
/// Interface for any factory to ever exist.
pub trait AnyFactory: CastFrom + Debug {}
/// Interface for any threadsafe factory to ever exist.
-pub trait AnyThreadsafeFactory: CastFromSync + Debug {}
+pub trait AnyThreadsafeFactory: CastFromArc + Debug {}