diff options
Diffstat (limited to 'askama_actix/src')
-rw-r--r-- | askama_actix/src/lib.rs | 4 |
1 files changed, 1 insertions, 3 deletions
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<BoxBody>; } |