Wrap
via WeakFunctorA
This commit is contained in:
parent
40937439c7
commit
1772ca5186
@ -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.
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user