From 07584691a8b2ff44776d22c9f9b2c4ec1b303948 Mon Sep 17 00:00:00 2001 From: René Kijewski Date: Thu, 10 Mar 2022 09:02:10 +0100 Subject: 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. --- askama_shared/src/generator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_shared/src/generator.rs') 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( +pub(crate) fn generate( input: &TemplateInput<'_>, contexts: &HashMap<&Path, Context<'_>, S>, heritage: Option<&Heritage<'_>>, -- cgit