1
0
Fork 0
mirror of https://github.com/tokio-rs/axum.git synced 2025-04-10 08:03:04 +02:00

Remove repeated constraint ()

The constraint for B is repeated. Remove it.
This commit is contained in:
Sidharth Kshatriya 2021-08-31 13:53:59 +05:30 committed by GitHub
parent e698586193
commit 39c5cc24fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -316,7 +316,6 @@ macro_rules! impl_handler {
Fut: Future<Output = Res> + Send,
B: Send + 'static,
Res: IntoResponse,
B: Send + 'static,
$head: FromRequest<B> + Send,
$( $tail: FromRequest<B> + Send,)*
{