diff options
Diffstat (limited to 'askama_warp/src/lib.rs')
-rw-r--r-- | askama_warp/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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: askama::Template>(t: &T, _ext: &str) -> Response { +pub fn reply<T: askama::Template>(t: &T) -> Response { match t.render() { Ok(body) => http::Response::builder() .status(StatusCode::OK) |