Run rustfmt on everything

This commit is contained in:
AppleTheGolden
2020-05-27 20:51:28 +02:00
parent c49f0ede16
commit 91274267e5
11 changed files with 54 additions and 34 deletions

View File

@@ -1,4 +1,4 @@
use actix_web::{web, HttpResponse, get};
use actix_web::{get, web, HttpResponse};
use handlebars::*;
#[get("/")]
@@ -9,4 +9,4 @@ pub async fn index_get(hb: web::Data<Handlebars<'_>>) -> HttpResponse {
let body = hb.render("index", &data).unwrap();
HttpResponse::Ok().body(body)
}
}

View File

@@ -1,11 +1,11 @@
mod search;
mod index;
mod mod_editor;
mod search;
pub use self::mod_editor::mod_editor_get;
pub use self::search::index_mods;
pub use self::search::search_get;
pub use self::search::search_post;
pub use self::search::index_mods;
pub use self::index::index_get;
pub use self::index::index_get;

View File

@@ -1,4 +1,4 @@
use actix_web::{web, HttpResponse, get};
use actix_web::{get, web, HttpResponse};
use handlebars::*;
#[get("modeditor")]
@@ -9,4 +9,4 @@ pub async fn mod_editor_get(hb: web::Data<Handlebars<'_>>) -> HttpResponse {
let body = hb.render("mod_editor", &data).unwrap();
HttpResponse::Ok().body(body)
}
}