aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/generator.rs
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-03-10 09:02:10 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-03-23 19:37:10 +0100
commit07584691a8b2ff44776d22c9f9b2c4ec1b303948 (patch)
tree43549d7d414aad8c728b7f6b6e3c67c0b6004898 /askama_shared/src/generator.rs
parent4c0388d11e1bafb85250b649ff610d3f9c7f9452 (diff)
downloadaskama-07584691a8b2ff44776d22c9f9b2c4ec1b303948.tar.gz
askama-07584691a8b2ff44776d22c9f9b2c4ec1b303948.tar.bz2
askama-07584691a8b2ff44776d22c9f9b2c4ec1b303948.zip
Un-"pub" most of askama_shared's internals
Previously askama_shared exported most of it's internals, so askama_derive could use them. This is not needed anymore.
Diffstat (limited to '')
-rw-r--r--askama_shared/src/generator.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/askama_shared/src/generator.rs b/askama_shared/src/generator.rs
index def8c08..f7783af 100644
--- a/askama_shared/src/generator.rs
+++ b/askama_shared/src/generator.rs
@@ -10,7 +10,7 @@ use std::collections::HashMap;
use std::path::Path;
use std::{cmp, hash, mem, str};
-pub fn generate<S: std::hash::BuildHasher>(
+pub(crate) fn generate<S: std::hash::BuildHasher>(
input: &TemplateInput<'_>,
contexts: &HashMap<&Path, Context<'_>, S>,
heritage: Option<&Heritage<'_>>,