enable multiple_bound_locations lint

This commit is contained in:
Charles Hall 2024-05-21 22:09:21 -07:00
parent 92d9f81a78
commit eaeb7620d9
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF
5 changed files with 10 additions and 11 deletions

View file

@ -128,12 +128,12 @@ impl FedDest {
}
#[tracing::instrument(skip(request), fields(destination_cache_result))]
pub(crate) async fn send_request<T: OutgoingRequest>(
pub(crate) async fn send_request<T>(
destination: &ServerName,
request: T,
) -> Result<T::IncomingResponse>
where
T: Debug,
T: OutgoingRequest + Debug,
{
if !services().globals.allow_federation() {
return Err(Error::BadConfig("Federation is disabled."));