mirror of
https://github.com/cubixle/radius-rs.git
synced 2026-04-24 22:34:42 +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>(
|
||||
conn: Arc<UdpSocket>,
|
||||
request_data: &[u8],
|
||||
@@ -131,7 +132,7 @@ impl Server {
|
||||
e
|
||||
);
|
||||
debug!("failed request data => {:?}", request_data);
|
||||
// TODO error handler?
|
||||
// TODO error handler support?
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user