diff options
author | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-07-10 15:46:55 +0100 |
---|---|---|
committer | Dirkjan Ochtman <dirkjan@ochtman.nl> | 2018-07-10 15:46:55 +0100 |
commit | ab9891f9c5291b8afb2f052d156780089efd99cd (patch) | |
tree | eb90785d99ebfd240abd19e0fe09e6f131358395 /askama_shared/src/path.rs | |
parent | c7cc34f3e956173eb9e03decaf08e0ea6ea28525 (diff) | |
download | askama-ab9891f9c5291b8afb2f052d156780089efd99cd.tar.gz askama-ab9891f9c5291b8afb2f052d156780089efd99cd.tar.bz2 askama-ab9891f9c5291b8afb2f052d156780089efd99cd.zip |
Use Config type for build script helper
Diffstat (limited to 'askama_shared/src/path.rs')
-rw-r--r-- | askama_shared/src/path.rs | 4 |
1 files changed, 0 insertions, 4 deletions
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<PathBuf> { - Config::new().dirs -} - #[cfg(test)] mod tests { use super::{find_template_from_path, get_template_source}; |