Remove repeated constraint (#294)

The constraint for B is repeated. Remove it.
This commit is contained in:
Sidharth Kshatriya
2021-08-31 08:23:59 +00:00
committed by GitHub
parent e698586193
commit 39c5cc24fa
-1
View File
@@ -316,7 +316,6 @@ macro_rules! impl_handler {
Fut: Future<Output = Res> + Send, Fut: Future<Output = Res> + Send,
B: Send + 'static, B: Send + 'static,
Res: IntoResponse, Res: IntoResponse,
B: Send + 'static,
$head: FromRequest<B> + Send, $head: FromRequest<B> + Send,
$( $tail: FromRequest<B> + Send,)* $( $tail: FromRequest<B> + Send,)*
{ {