diff --git a/contrib/src/templates/mod.rs b/contrib/src/templates/mod.rs index 76757cd4..73ec8689 100644 --- a/contrib/src/templates/mod.rs +++ b/contrib/src/templates/mod.rs @@ -166,6 +166,7 @@ impl Template { }) } + /// Returns the path to the template root directory pub fn root(config: &Config) -> PathBuf { let mut template_root = config.root().join(DEFAULT_TEMPLATE_DIR); match config.get_str("template_dir") {