From ea8be4421d73a9ef056c05889d87062dfb5a69c8 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Thu, 6 Jan 2022 14:43:01 +0100 Subject: Remove ext argument in integrations --- askama_gotham/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_gotham/src/lib.rs') 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: &T, _ext: &str) -> Response { +pub fn respond(t: &T) -> Response { match t.render() { Ok(body) => Response::builder() .status(StatusCode::OK) -- cgit