aboutsummaryrefslogtreecommitdiffstats
path: root/askama_rocket/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'askama_rocket/src/lib.rs')
-rw-r--r--askama_rocket/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_rocket/src/lib.rs b/askama_rocket/src/lib.rs
index fb231a4..e2e84be 100644
--- a/askama_rocket/src/lib.rs
+++ b/askama_rocket/src/lib.rs
@@ -10,7 +10,7 @@ pub use rocket::request::Request;
use rocket::response::Response;
pub use rocket::response::{Responder, Result};
-pub fn respond<T: Template>(t: &T, _ext: &str) -> Result<'static> {
+pub fn respond<T: Template>(t: &T) -> Result<'static> {
let rsp = t.render().map_err(|_| Status::InternalServerError)?;
Response::build()
.header(Header::new("content-type", T::MIME_TYPE))