diff options
author | HampusM <hampus@hampusmat.com> | 2023-08-04 16:32:46 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2023-08-04 16:32:46 +0200 |
commit | e0216c7cbf008f2867ef92955abce28dba27f5e3 (patch) | |
tree | 92f1f25dad7691b781b621c84e21478e5d182847 /src/private/any_factory.rs | |
parent | 14e45fe9aa2431120cfd6a7240f8bb94e45e730d (diff) |
refactor: rename CastFromSync to CastFromArc
Diffstat (limited to 'src/private/any_factory.rs')
-rw-r--r-- | src/private/any_factory.rs | 4 |
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 {} |