Remove allow(clippy::inconsistent_struct_constructor)
The lint was buggy, but that has now been fixed.
This commit is contained in:
parent
325c0adf69
commit
1dc72de70e
@ -211,7 +211,6 @@ impl Request {
|
||||
quote! {
|
||||
#[automatically_derived]
|
||||
#[cfg(feature = "server")]
|
||||
#[allow(clippy::unknown_clippy_lints, clippy::inconsistent_struct_constructor)]
|
||||
impl #ruma_api::IncomingRequest for #incoming_request_type {
|
||||
type EndpointError = #error_ty;
|
||||
type OutgoingResponse = Response;
|
||||
|
@ -200,7 +200,6 @@ impl Request {
|
||||
quote! {
|
||||
#[automatically_derived]
|
||||
#[cfg(feature = "client")]
|
||||
#[allow(clippy::unknown_clippy_lints, clippy::inconsistent_struct_constructor)]
|
||||
impl #lifetimes #ruma_api::OutgoingRequest for Request #lifetimes {
|
||||
type EndpointError = #error_ty;
|
||||
type IncomingResponse = <Response as #ruma_serde::Outgoing>::Incoming;
|
||||
|
@ -116,7 +116,6 @@ impl Response {
|
||||
quote! {
|
||||
#[automatically_derived]
|
||||
#[cfg(feature = "client")]
|
||||
#[allow(clippy::unknown_clippy_lints, clippy::inconsistent_struct_constructor)]
|
||||
impl #ruma_api::IncomingResponse for Response {
|
||||
type EndpointError = #error_ty;
|
||||
|
||||
|
@ -71,7 +71,6 @@ impl Response {
|
||||
quote! {
|
||||
#[automatically_derived]
|
||||
#[cfg(feature = "server")]
|
||||
#[allow(clippy::unknown_clippy_lints, clippy::inconsistent_struct_constructor)]
|
||||
impl #ruma_api::OutgoingResponse for Response {
|
||||
fn try_into_http_response<T: ::std::default::Default + #bytes::BufMut>(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user