diff options
author | 2018-10-12 14:20:55 +0200 | |
---|---|---|
committer | 2018-10-12 14:20:55 +0200 | |
commit | 3c30d3a39637db70f241b4da185d2394faf71da8 (patch) | |
tree | 4b9fc30438a5386a544fa4f6b15da6ffdc54d0b7 | |
parent | 1f11e7133de188bc5a83ff4b8462c69cf1c19174 (diff) | |
download | askama-3c30d3a39637db70f241b4da185d2394faf71da8.tar.gz askama-3c30d3a39637db70f241b4da185d2394faf71da8.tar.bz2 askama-3c30d3a39637db70f241b4da185d2394faf71da8.zip |
Remove default implementation for extension()
-rw-r--r-- | askama/src/lib.rs | 5 |
1 files changed, 1 insertions, 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::*; |