enable inconsistent_struct_constructor lint

This commit is contained in:
Charles Hall 2024-05-14 17:11:37 -07:00
parent ebae8ceeb0
commit 5c9967f89c
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
4 changed files with 5 additions and 4 deletions

View file

@ -40,6 +40,7 @@ if_then_some_else_none = "warn"
ignored_unit_patterns = "warn"
impl_trait_in_params = "warn"
implicit_clone = "warn"
inconsistent_struct_constructor = "warn"
let_underscore_must_use = "warn"
lossy_float_literal = "warn"
mem_forget = "warn"

View file

@ -439,11 +439,11 @@ pub(crate) async fn get_keys_helper<F: Fn(&UserId) -> bool>(
}
Ok(get_keys::v3::Response {
failures,
device_keys,
master_keys,
self_signing_keys,
user_signing_keys,
device_keys,
failures,
})
}

View file

@ -325,8 +325,8 @@ where
sender_user,
sender_device,
sender_servername,
appservice_info,
json_body,
appservice_info,
})
}
}

View file

@ -1853,9 +1853,9 @@ pub(crate) async fn get_profile_information_route(
}
Ok(get_profile_information::v1::Response {
blurhash,
displayname,
avatar_url,
blurhash,
})
}