From 62b3c30a48e3375094c02cb90accdcc4950f75d4 Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Thu, 22 Dec 2022 19:35:17 +0530 Subject: [PATCH] Run cargo fmt Signed-off-by: baalajimaestro --- src/main.rs | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/main.rs b/src/main.rs index d0ace2e..0a196b4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,10 +1,15 @@ -use actix_web::{get, App, HttpResponse, HttpServer, Responder, web::{Data, Query}, http::header::ContentType}; use actix_files as fs; -use tera::{Tera, Context}; -use serde::{Serialize, Deserialize}; -use reqwest::{Client, header::HeaderMap}; -use std::env; +use actix_web::{ + get, + http::header::ContentType, + web::{Data, Query}, + App, HttpResponse, HttpServer, Responder, +}; use mime::TEXT_HTML; +use reqwest::{header::HeaderMap, Client}; +use serde::{Deserialize, Serialize}; +use std::env; +use tera::{Context, Tera}; struct Template { paste: Tera, @@ -45,23 +50,23 @@ async fn paste_render(data: Data