We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f38ec8 commit 4eb8008Copy full SHA for 4eb8008
src/template_helpers.rs
@@ -704,7 +704,7 @@ mod tests {
704
}
705
706
707
- fn as_args(contents: &Value) -> [PathAndJson; 1] {
+ fn as_args(contents: &Value) -> [PathAndJson<'_>; 1] {
708
[as_helper_arg(CONTENT_KEY, contents)]
709
710
src/templates.rs
@@ -57,7 +57,7 @@ impl AsyncFromStrWithState for SplitTemplate {
57
source: &str,
58
source_path: &Path,
59
) -> anyhow::Result<Self> {
60
- log::debug!("Compiling template {:?}", source_path);
+ log::debug!("Compiling template \"{}\"", source_path.display());
61
let tpl = Template::compile_with_name(source, "SQLPage component".to_string())?;
62
Ok(split_template(tpl))
63
0 commit comments