You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
Fix some false-positive clippy lints
Those were introduced in clippy 1.62 (under clippy::pedantic) and are in proc-macro generated code
This commit is contained in:
@@ -121,12 +121,12 @@ where
|
||||
}
|
||||
|
||||
#[must_use]
|
||||
pub fn client<B, E: 'static>(
|
||||
pub fn client<B, E>(
|
||||
operation: &'static str,
|
||||
) -> BoxCloneService<Request<B>, Response<BoxBody<bytes::Bytes, ClientError>>, ClientError>
|
||||
where
|
||||
B: http_body::Body<Data = Bytes, Error = E> + Default + Send + 'static,
|
||||
E: Into<BoxError>,
|
||||
E: Into<BoxError> + 'static,
|
||||
{
|
||||
let fut = make_base_client()
|
||||
// Map the error to a ClientError
|
||||
|
||||
Reference in New Issue
Block a user