Fix various clippy errors

This commit is contained in:
Rudi Floren 2021-03-04 15:27:25 +01:00
parent 6309506a48
commit 4027cbd01d
3 changed files with 13 additions and 10 deletions

View file

@ -1,17 +1,17 @@
use crate::Error;
use ruma::{
api::{AuthScheme, OutgoingRequest},
identifiers::{DeviceId, UserId},
Outgoing,
};
use std::{
convert::{TryFrom, TryInto},
convert::{TryInto},
ops::Deref,
};
#[cfg(feature = "conduit_bin")]
use {
crate::utils,
ruma::api::{AuthScheme, OutgoingRequest},
log::{debug, warn},
rocket::{
data::{
@ -25,6 +25,7 @@ use {
Request, State,
},
std::io::Cursor,
std::convert::TryFrom,
};
/// This struct converts rocket requests into ruma structs by converting them into http requests