Wrap via WeakFunctorA

This commit is contained in:
AF 2023-05-26 10:07:01 +00:00
parent 40937439c7
commit 1772ca5186

View File

@ -49,7 +49,7 @@ impl<'a, T: ?Sized + 'a + WeakFunctor> WeakFunctorA<'a> for T {
type Fa<A: 'a> = T::F<'a, A>;
}
pub type Wrap<'a, A, T> = <T as WeakFunctor>::F<'a, A>;
pub type Wrap<'a, A, T> = <T as WeakFunctorA<'a>>::Fa<A>;
/// Rust-specific implementation of [`Functor`], respecting `move` semantics.
///