mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-29 00:00:18 +02:00
Remove repeated constraint (#294)
The constraint for B is repeated. Remove it.
This commit is contained in:
@@ -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,)*
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user