diff options
Diffstat (limited to 'askama_derive/src')
-rw-r--r-- | askama_derive/src/heritage.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_derive/src/heritage.rs b/askama_derive/src/heritage.rs index 52c14a2..9556145 100644 --- a/askama_derive/src/heritage.rs +++ b/askama_derive/src/heritage.rs @@ -11,9 +11,9 @@ pub(crate) struct Heritage<'a> { } impl Heritage<'_> { - pub(crate) fn new<'n, S: std::hash::BuildHasher>( + pub(crate) fn new<'n>( mut ctx: &'n Context<'n>, - contexts: &'n HashMap<&'n Path, Context<'n>, S>, + contexts: &'n HashMap<&'n Path, Context<'n>>, ) -> Heritage<'n> { let mut blocks: BlockAncestry<'n> = ctx .blocks |