cargo-fmt the src

Signed-off-by: Gunwant Jain <mail@wantguns.dev>
This commit is contained in:
Gunwant Jain
2022-01-18 16:18:22 +05:30
parent ce001c6a79
commit 78b4213c62
6 changed files with 14 additions and 5 deletions

View File

@@ -8,7 +8,9 @@ use crate::models::pretty::get_pretty_body;
use crate::models::pretty_syntax::PasteIdSyntax;
#[get("/p/<id_ext>", rank = 1)]
pub async fn pretty_retrieve_ext(id_ext: PasteIdSyntax<'_>) -> Option<Template> {
pub async fn pretty_retrieve_ext(
id_ext: PasteIdSyntax<'_>,
) -> Option<Template> {
let id = id_ext.get_fname();
let ext = id_ext.get_ext();