enable multiple_inherent_impl lint

This commit is contained in:
Charles Hall 2024-05-12 18:31:09 -07:00
parent 4a7b9c16cc
commit 6bdaeab1af
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
3 changed files with 1 additions and 4 deletions

View file

@ -952,8 +952,6 @@ impl service::users::Data for KeyValueDatabase {
}
}
impl KeyValueDatabase {}
/// Will only return with Some(username) if the password was not empty and the
/// username could be successfully parsed.
/// If utils::string_from_bytes(...) returns an error that username will be skipped

View file

@ -87,9 +87,7 @@ impl Error {
error!("BadConfig: {}", message);
Self::BadConfig(message)
}
}
impl Error {
pub(crate) fn to_response(&self) -> RumaResponse<UiaaResponse> {
if let Self::Uiaa(uiaainfo) = self {
return RumaResponse(UiaaResponse::AuthResponse(uiaainfo.clone()));