chore: bump rust

and fix new lints that come with it
This commit is contained in:
Matthias Ahouansou
2024-05-05 13:11:44 +01:00
parent 79c4bb17ca
commit 256dae983b
21 changed files with 43 additions and 46 deletions

View File

@@ -10,12 +10,12 @@ use tracing::warn;
///
/// Only returns None if there is no url specified in the appservice registration file
#[tracing::instrument(skip(request))]
pub(crate) async fn send_request<T: OutgoingRequest>(
pub(crate) async fn send_request<T>(
registration: Registration,
request: T,
) -> Result<Option<T::IncomingResponse>>
where
T: Debug,
T: OutgoingRequest + Debug,
{
let destination = match registration.url {
Some(url) => url,