From a508a4150cb4835964d4b874b013f4741b033f5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mina=20Gali=C4=87?= Date: Mon, 25 May 2020 19:18:24 +0200 Subject: [PATCH] remove redundant use statements --- src/routes/instance.rs | 1 - src/routes/user.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/routes/instance.rs b/src/routes/instance.rs index 74887e48..a3be8c43 100644 --- a/src/routes/instance.rs +++ b/src/routes/instance.rs @@ -5,7 +5,6 @@ use rocket::{ use rocket_contrib::json::Json; use rocket_i18n::I18n; use scheduled_thread_pool::ScheduledThreadPool; -use serde_json; use std::path::PathBuf; use std::str::FromStr; use validator::{Validate, ValidationErrors}; diff --git a/src/routes/user.rs b/src/routes/user.rs index f3d57970..d55770e8 100644 --- a/src/routes/user.rs +++ b/src/routes/user.rs @@ -9,7 +9,6 @@ use rocket::{ response::{status, Content, Flash, Redirect}, }; use rocket_i18n::I18n; -use serde_json; use std::{borrow::Cow, collections::HashMap}; use validator::{Validate, ValidationError, ValidationErrors};