diff options
author | Philipp Korber <philippkorber@gmail.com> | 2018-11-22 20:22:23 +0100 |
---|---|---|
committer | Philipp Korber <philippkorber@gmail.com> | 2018-11-22 20:22:23 +0100 |
commit | 55482f880cfa67e68e52e5937f36251e886c137c (patch) | |
tree | 6092677fac3b5422433188b99b098a66d029f563 /template/src/lib.rs | |
parent | e0cdb9dbae5649b29753232bed9136389b940e23 (diff) |
fix(examples) made template example usable again
Diffstat (limited to 'template/src/lib.rs')
-rw-r--r-- | template/src/lib.rs | 3 |
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, |