diff options
Diffstat (limited to 'askama_axum/src/lib.rs')
-rw-r--r-- | askama_axum/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_axum/src/lib.rs b/askama_axum/src/lib.rs index da3d699..090d1d2 100644 --- a/askama_axum/src/lib.rs +++ b/askama_axum/src/lib.rs @@ -6,7 +6,7 @@ pub use askama::*; pub use axum_core::response::{IntoResponse, Response}; use http::StatusCode; -pub fn into_response<T: Template>(t: &T, _ext: &str) -> Response { +pub fn into_response<T: Template>(t: &T) -> Response { match t.render() { Ok(body) => { let headers = [( |