diff options
author | Lars Wirzenius <liw@liw.fi> | 2023-04-30 18:22:27 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2023-04-30 18:22:27 +0300 |
commit | 47b466e29f091918728d6b1d7221ebb8e442ec09 (patch) | |
tree | 9c87c2acbe1bda7c9ffd98c3c36195ee6b86b086 /src/codegen.rs | |
parent | ac54fb5fd6588f4bbfe3a8a4c960fdf8f7512eaf (diff) | |
download | subplot-47b466e29f091918728d6b1d7221ebb8e442ec09.tar.gz |
chore: drop now-obsolete comment
Thank you Milo Moisson.
Sponsored-by: author
Diffstat (limited to 'src/codegen.rs')
-rw-r--r-- | src/codegen.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/codegen.rs b/src/codegen.rs index dfe4e1f..81a5f35 100644 --- a/src/codegen.rs +++ b/src/codegen.rs @@ -53,8 +53,6 @@ fn context(doc: &mut Document, template: &str) -> Result<Context, SubplotError> } fn tera(tmplspec: &TemplateSpec, templatename: &str) -> Result<Tera, SubplotError> { - // Tera insists on a glob, but we want to load a specific template - // only, so we use a glob that doesn't match anything. let mut tera = Tera::default(); tera.register_filter("base64", base64); tera.register_filter("nameslug", nameslug); |