Remove TryFrom, TryInto imports

They are no longer needed in the 2021 edition.
This commit is contained in:
Jonas Platte 2022-02-03 13:24:04 +01:00
parent b4755ba15b
commit abb4b4cf0b
No known key found for this signature in database
GPG key ID: CC154DE0E30B7C67
22 changed files with 11 additions and 33 deletions

View file

@ -1,12 +1,7 @@
use crate::{utils, Error, Result};
use bytes::BytesMut;
use ruma::api::{IncomingResponse, OutgoingRequest, SendAccessToken};
use std::{
convert::{TryFrom, TryInto},
fmt::Debug,
mem,
time::Duration,
};
use std::{fmt::Debug, mem, time::Duration};
use tracing::warn;
pub(crate) async fn send_request<T: OutgoingRequest>(