aboutsummaryrefslogtreecommitdiff
path: root/src/private/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/factory.rs
parent14e45fe9aa2431120cfd6a7240f8bb94e45e730d (diff)
refactor: rename CastFromSync to CastFromArc
Diffstat (limited to 'src/private/factory.rs')
-rw-r--r--src/private/factory.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/private/factory.rs b/src/private/factory.rs
index 8b8354d..84b00c6 100644
--- a/src/private/factory.rs
+++ b/src/private/factory.rs
@@ -15,7 +15,7 @@ where
/// Interface for a threadsafe factory.
#[cfg(feature = "async")]
pub trait IThreadsafeFactory<Args, ReturnInterface>:
- Fn<Args, Output = TransientPtr<ReturnInterface>> + crate::private::cast::CastFromSync
+ Fn<Args, Output = TransientPtr<ReturnInterface>> + crate::private::cast::CastFromArc
where
Args: Tuple,
ReturnInterface: 'static + ?Sized,