From ab9891f9c5291b8afb2f052d156780089efd99cd Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Tue, 10 Jul 2018 15:46:55 +0100 Subject: Use Config type for build script helper --- askama_shared/src/path.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'askama_shared/src/path.rs') diff --git a/askama_shared/src/path.rs b/askama_shared/src/path.rs index b1a1e6a..4197376 100644 --- a/askama_shared/src/path.rs +++ b/askama_shared/src/path.rs @@ -37,10 +37,6 @@ pub fn find_template_from_path(path: &str, start_at: Option<&Path>) -> PathBuf { panic!("template {:?} not found in directories {:?}", path, config.dirs) } -pub fn template_dirs() -> Vec { - Config::new().dirs -} - #[cfg(test)] mod tests { use super::{find_template_from_path, get_template_source}; -- cgit