diff options
Diffstat (limited to 'src/interfaces/factory.rs')
-rw-r--r-- | src/interfaces/factory.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/factory.rs b/src/interfaces/factory.rs index c97fc09..6f8e7c7 100644 --- a/src/interfaces/factory.rs +++ b/src/interfaces/factory.rs @@ -1,9 +1,9 @@ #![allow(clippy::module_name_repetitions)] use crate::libs::intertrait::CastFrom; -use crate::ptr::InterfacePtr; +use crate::ptr::TransientPtr; pub trait IFactory<Args, ReturnInterface>: - Fn<Args, Output = InterfacePtr<ReturnInterface>> + CastFrom + Fn<Args, Output = TransientPtr<ReturnInterface>> + CastFrom where ReturnInterface: 'static + ?Sized, { |