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_rocket/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_rocket') 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: &T, _ext: &str) -> Result<'static> { +pub fn respond(t: &T) -> Result<'static> { let rsp = t.render().map_err(|_| Status::InternalServerError)?; Response::build() .header(Header::new("content-type", T::MIME_TYPE)) -- cgit