Fix various clippy errors
This commit is contained in:
parent
6309506a48
commit
4027cbd01d
3 changed files with 13 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue