From e34a81ccb966e58e97cb24b1b60141e14f073924 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Wed, 5 Jan 2022 19:21:55 +0100 Subject: Combine imports from the same module --- askama_actix/src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'askama_actix/src/lib.rs') diff --git a/askama_actix/src/lib.rs b/askama_actix/src/lib.rs index 71af8cc..afc3ea3 100644 --- a/askama_actix/src/lib.rs +++ b/askama_actix/src/lib.rs @@ -2,12 +2,10 @@ use actix_web::body::BoxBody; use actix_web::http::StatusCode; -use actix_web::HttpResponseBuilder; +use actix_web::{HttpResponse, HttpResponseBuilder, ResponseError}; use askama::mime::extension_to_mime_type; pub use askama::*; -use actix_web::HttpResponse; - pub trait TemplateToResponse { fn to_response(&self) -> HttpResponse; } -- cgit