aboutsummaryrefslogtreecommitdiffstats
path: root/askama_gotham/src
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-01-06 14:43:01 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-09-19 12:34:44 +0200
commitea8be4421d73a9ef056c05889d87062dfb5a69c8 (patch)
tree571c1dc918cbc5dfdd916a6c775356e770e676b0 /askama_gotham/src
parent7edb3d4685aff00880906873db4eb9f649a077d9 (diff)
downloadaskama-ea8be4421d73a9ef056c05889d87062dfb5a69c8.tar.gz
askama-ea8be4421d73a9ef056c05889d87062dfb5a69c8.tar.bz2
askama-ea8be4421d73a9ef056c05889d87062dfb5a69c8.zip
Remove ext argument in integrations
Diffstat (limited to '')
-rw-r--r--askama_gotham/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_gotham/src/lib.rs b/askama_gotham/src/lib.rs
index a32398d..bc699f6 100644
--- a/askama_gotham/src/lib.rs
+++ b/askama_gotham/src/lib.rs
@@ -9,7 +9,7 @@ use gotham::hyper::header;
pub use gotham::hyper::{Body, Response, StatusCode};
pub use gotham::state::State;
-pub fn respond<T: Template>(t: &T, _ext: &str) -> Response<Body> {
+pub fn respond<T: Template>(t: &T) -> Response<Body> {
match t.render() {
Ok(body) => Response::builder()
.status(StatusCode::OK)