diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-01-06 14:43:01 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-09-19 12:34:44 +0200 |
commit | ea8be4421d73a9ef056c05889d87062dfb5a69c8 (patch) | |
tree | 571c1dc918cbc5dfdd916a6c775356e770e676b0 /askama_rocket/src/lib.rs | |
parent | 7edb3d4685aff00880906873db4eb9f649a077d9 (diff) | |
download | askama-ea8be4421d73a9ef056c05889d87062dfb5a69c8.tar.gz askama-ea8be4421d73a9ef056c05889d87062dfb5a69c8.tar.bz2 askama-ea8be4421d73a9ef056c05889d87062dfb5a69c8.zip |
Remove ext argument in integrations
Diffstat (limited to '')
-rw-r--r-- | askama_rocket/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_rocket/src/lib.rs b/askama_rocket/src/lib.rs index fb231a4..e2e84be 100644 --- a/askama_rocket/src/lib.rs +++ b/askama_rocket/src/lib.rs @@ -10,7 +10,7 @@ pub use rocket::request::Request; use rocket::response::Response; pub use rocket::response::{Responder, Result}; -pub fn respond<T: Template>(t: &T, _ext: &str) -> Result<'static> { +pub fn respond<T: Template>(t: &T) -> Result<'static> { let rsp = t.render().map_err(|_| Status::InternalServerError)?; Response::build() .header(Header::new("content-type", T::MIME_TYPE)) |