aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_shared/src/heritage.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/askama_shared/src/heritage.rs b/askama_shared/src/heritage.rs
index 95057b8..12d16d0 100644
--- a/askama_shared/src/heritage.rs
+++ b/askama_shared/src/heritage.rs
@@ -10,9 +10,9 @@ pub struct Heritage<'a> {
}
impl Heritage<'_> {
- pub fn new<'n>(
+ pub fn new<'n, S: std::hash::BuildHasher>(
mut ctx: &'n Context<'n>,
- contexts: &'n HashMap<&'n PathBuf, Context<'n>>,
+ contexts: &'n HashMap<&'n PathBuf, Context<'n>, S>,
) -> Heritage<'n> {
let mut blocks: BlockAncestry<'n> = ctx
.blocks