Reorganize use statements

This commit is contained in:
Bat
2018-05-19 08:39:59 +01:00
parent aa233abb41
commit b55622f2b1
23 changed files with 173 additions and 130 deletions
+6 -5
View File
@@ -1,14 +1,15 @@
use rocket::request::Form;
use rocket::response::Redirect;
use rocket::{request::Form, response::Redirect};
use rocket_contrib::Template;
use serde_json;
use BASE_URL;
use activity_pub::inbox::Inbox;
use db_conn::DbConn;
use models::posts::Post;
use models::users::User;
use models::instance::*;
use models::{
posts::Post,
users::User,
instance::*
};
#[get("/")]
fn index(conn: DbConn, user: Option<User>) -> Template {