diff options
Diffstat (limited to 'askama_gotham/src/lib.rs')
-rw-r--r-- | askama_gotham/src/lib.rs | 2 |
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) |