diff options
author | René Kijewski <kijewski@library.vetmed.fu-berlin.de> | 2022-06-15 22:22:01 +0200 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2022-06-15 22:45:40 +0200 |
commit | 55d292ca22320a36589e1afdee1c650d5da3540d (patch) | |
tree | dbb2c6f5c25cc5ea2ff04cffb06412ccd0218e78 | |
parent | df3584c35c2734a418bc73ac39402118a209c8e1 (diff) | |
download | askama-55d292ca22320a36589e1afdee1c650d5da3540d.tar.gz askama-55d292ca22320a36589e1afdee1c650d5da3540d.tar.bz2 askama-55d292ca22320a36589e1afdee1c650d5da3540d.zip |
Remove BuildHasher from Heritage, too
Diffstat (limited to '')
-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 |