mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
enable multiple_inherent_impl lint
This commit is contained in:
parent
4a7b9c16cc
commit
6bdaeab1af
3 changed files with 1 additions and 4 deletions
|
|
@ -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()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue