From 3c30d3a39637db70f241b4da185d2394faf71da8 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 12 Oct 2018 14:20:55 +0200 Subject: Remove default implementation for extension() --- askama/src/lib.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/askama/src/lib.rs b/askama/src/lib.rs index 187b571..0c1f083 100644 --- a/askama/src/lib.rs +++ b/askama/src/lib.rs @@ -398,10 +398,7 @@ pub trait Template { /// Helper function to inspect the template's extension fn extension() -> Option<&'static str> where - Self: Sized, - { - None - } + Self: Sized; } pub use askama_derive::*; -- cgit