enable enum_variant_names lint

This commit is contained in:
Charles Hall 2024-05-01 22:36:15 -07:00
parent 2ff08c9fc4
commit bc2f7c6826
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
4 changed files with 16 additions and 19 deletions

View file

@ -306,7 +306,7 @@ where
})
} else {
debug!("Returning error from {destination}");
Err(Error::FederationError(
Err(Error::Federation(
destination.to_owned(),
RumaError::from_http_response(http_response),
))