From fa7612f06912de17dbcb8bf0edd8de0571ad00ad Mon Sep 17 00:00:00 2001
From: PublicByte
Date: Thu, 11 Jun 2020 21:06:43 +0200
Subject: [PATCH] refactor: remove unused imports
---
src/client_server.rs | 4 ++--
src/database/uiaa.rs | 1 -
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/client_server.rs b/src/client_server.rs
index 3a2e771..e49bfb4 100644
--- a/src/client_server.rs
+++ b/src/client_server.rs
@@ -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::{
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,
diff --git a/src/database/uiaa.rs b/src/database/uiaa.rs
index fa4fc6e..1272d5f 100644
--- a/src/database/uiaa.rs
+++ b/src/database/uiaa.rs
@@ -1,5 +1,4 @@
use crate::{Error, Result};
-use log::debug;
use ruma::{
api::client::{
error::ErrorKind,