From c9613ff6029ee58dc3f94c3dd955b905ed7fc9ef Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Fri, 24 Feb 2023 18:23:25 +0100 Subject: Fix typos --- askama_derive/src/generator.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'askama_derive/src/generator.rs') diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs index 762f356..204098f 100644 --- a/askama_derive/src/generator.rs +++ b/askama_derive/src/generator.rs @@ -205,7 +205,7 @@ fn find_used_templates( let dependency_path = (path.clone(), extends.clone()); if dependency_graph.contains(&dependency_path) { return Err(format!( - "cyclic dependecy in graph {:#?}", + "cyclic dependency in graph {:#?}", dependency_graph .iter() .map(|e| format!("{:#?} --> {:#?}", e.0, e.1)) @@ -1211,7 +1211,7 @@ impl<'a> Generator<'a> { }; let id = match expr_cache.entry(expression.clone()) { - Entry::Occupied(e) if s.is_cachable() => *e.get(), + Entry::Occupied(e) if s.is_cacheable() => *e.get(), e => { let id = self.named; self.named += 1; -- cgit