mirror of
https://github.com/fafhrd91/actix-net
synced 2025-08-20 06:25:37 +02:00
change generics order for Transform trait
This commit is contained in:
@@ -24,7 +24,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<F, S, R, In, Out, Err> Transform<In, S> for FnTransform<F, S, R, In, Out, Err>
|
||||
impl<F, S, R, In, Out, Err> Transform<S, In> for FnTransform<F, S, R, In, Out, Err>
|
||||
where
|
||||
S: Service<R>,
|
||||
F: FnMut(In, &mut S) -> Out + Clone,
|
||||
@@ -42,7 +42,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<F, S, R, In, Out, Err> IntoTransform<FnTransform<F, S, R, In, Out, Err>, In, S> for F
|
||||
impl<F, S, R, In, Out, Err> IntoTransform<FnTransform<F, S, R, In, Out, Err>, S, In> for F
|
||||
where
|
||||
S: Service<R>,
|
||||
F: FnMut(In, &mut S) -> Out + Clone,
|
||||
|
Reference in New Issue
Block a user