From 55d292ca22320a36589e1afdee1c650d5da3540d Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Wed, 15 Jun 2022 22:22:01 +0200 Subject: Remove BuildHasher from Heritage, too --- askama_derive/src/heritage.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_derive/src') 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 -- cgit