summaryrefslogtreecommitdiffstats
path: root/template/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'template/src/lib.rs')
-rw-r--r--template/src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/template/src/lib.rs b/template/src/lib.rs
index 09aea12..26e70cb 100644
--- a/template/src/lib.rs
+++ b/template/src/lib.rs
@@ -87,6 +87,9 @@ pub trait TemplateEngineCanHandleData<D>: TemplateEngine {
}
/// Load a template as described in a toml file.
+///
+/// This will set the default of the base_dir to the
+/// dir the template file loaded is in.
pub fn load_toml_template_from_path<TE, C>(
engine: TE,
path: PathBuf,