mirror of
https://github.com/cubixle/radius-rs.git
synced 2026-04-30 14:18:39 +01:00
Suppress clippy too-many-arguments warning
Because if it attempts to extract the arguments to the struct members, the compiler complains about generics and lifetime boundaries...
This commit is contained in:
@@ -93,6 +93,7 @@ impl Server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[allow(clippy::too_many_arguments)]
|
||||||
async fn process_request<X, E: Debug, T: RequestHandler<X, E>, U: SecretProvider>(
|
async fn process_request<X, E: Debug, T: RequestHandler<X, E>, U: SecretProvider>(
|
||||||
conn: Arc<UdpSocket>,
|
conn: Arc<UdpSocket>,
|
||||||
request_data: &[u8],
|
request_data: &[u8],
|
||||||
@@ -131,7 +132,7 @@ impl Server {
|
|||||||
e
|
e
|
||||||
);
|
);
|
||||||
debug!("failed request data => {:?}", request_data);
|
debug!("failed request data => {:?}", request_data);
|
||||||
// TODO error handler?
|
// TODO error handler support?
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user