aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/path.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_shared/src/path.rs4
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};