chore: rust fmpt

This commit is contained in:
realaravinth
2022-05-10 22:48:07 +05:30
parent b7a8716a82
commit 1d8554cb36
7 changed files with 16 additions and 15 deletions

View File

@@ -100,7 +100,6 @@ fn handle_assets(path: &str) -> HttpResponse {
}
}
#[get("/assets/{_:.*}")]
pub async fn static_files(path: web::Path<String>) -> impl Responder {
handle_assets(&path)
@@ -131,7 +130,6 @@ fn handle_favicons(path: &str) -> HttpResponse {
}
}
#[get("/{file}")]
pub async fn favicons(path: web::Path<String>) -> impl Responder {
debug!("searching favicons");