Browse Source

refactor: remove unused imports

ruma
PublicByte 6 years ago
parent
commit
fa7612f069
  1. 4
      src/client_server.rs
  2. 1
      src/database/uiaa.rs

4
src/client_server.rs

@ -5,7 +5,7 @@ use std::{ @@ -5,7 +5,7 @@ use std::{
};
use crate::{utils, ConduitResult, Database, Error, Ruma};
use log::{debug, warn};
use log::warn;
use rocket::{delete, get, options, post, put, State};
use ruma::{
api::client::{
@ -46,7 +46,7 @@ use ruma::{ @@ -46,7 +46,7 @@ use ruma::{
thirdparty::get_protocols,
to_device::{self, send_event_to_device},
typing::create_typing_event,
uiaa::{AuthFlow, UiaaInfo, UiaaResponse},
uiaa::{AuthFlow, UiaaInfo},
user_directory::search_users,
},
unversioned::get_supported_versions,

1
src/database/uiaa.rs

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
use crate::{Error, Result};
use log::debug;
use ruma::{
api::client::{
error::ErrorKind,

Loading…
Cancel
Save