aboutsummaryrefslogtreecommitdiff
path: root/src/private/any_factory.rs
diff options
context:
space:
mode:
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 {}