diff options
-rw-r--r-- | askama_shared/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/lib.rs b/askama_shared/src/lib.rs index 2feff75..4e57a82 100644 --- a/askama_shared/src/lib.rs +++ b/askama_shared/src/lib.rs @@ -68,7 +68,7 @@ impl <'a> Imports<'a> { Imports { sources } } - pub fn parse(&'a self) -> HashMap<&'a str, Macro<'a>> { + pub fn macro_map(&'a self) -> HashMap<&'a str, Macro<'a>> { self.sources.iter() .flat_map(|s| parser::parse(s.as_ref())) .filter_map(|n| { |