diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-01-05 19:21:55 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-01-06 13:05:24 +0100 |
commit | e34a81ccb966e58e97cb24b1b60141e14f073924 (patch) | |
tree | 86ff67887769ed257e963d781dbebdd8e4ec38ed /askama_actix | |
parent | 16da7e366323090fa65ebf1c9990193c9eb8ef9c (diff) | |
download | askama-e34a81ccb966e58e97cb24b1b60141e14f073924.tar.gz askama-e34a81ccb966e58e97cb24b1b60141e14f073924.tar.bz2 askama-e34a81ccb966e58e97cb24b1b60141e14f073924.zip |
Combine imports from the same module
Diffstat (limited to 'askama_actix')
-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>; } |