From 8882ec000ddbf37465afbdb337222f113bceffcd Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 26 Sep 2017 21:40:26 +0200 Subject: Rename parse() method to macro_map() --- askama_shared/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared/src') 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| { -- cgit