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_warp/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_warp') diff --git a/askama_warp/src/lib.rs b/askama_warp/src/lib.rs index b2f0387..9c4bb9b 100644 --- a/askama_warp/src/lib.rs +++ b/askama_warp/src/lib.rs @@ -9,7 +9,7 @@ use warp::http::{self, header, StatusCode}; use warp::hyper::Body; use warp::reply::Response; -pub fn reply(t: &T, _ext: &str) -> Response { +pub fn reply(t: &T) -> Response { match t.render() { Ok(body) => http::Response::builder() .status(StatusCode::OK) -- cgit