Skip to content

Commit 4eb8008

Browse files
committed
clippy
1 parent 7f38ec8 commit 4eb8008

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/template_helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ mod tests {
704704
}
705705
}
706706

707-
fn as_args(contents: &Value) -> [PathAndJson; 1] {
707+
fn as_args(contents: &Value) -> [PathAndJson<'_>; 1] {
708708
[as_helper_arg(CONTENT_KEY, contents)]
709709
}
710710

src/templates.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl AsyncFromStrWithState for SplitTemplate {
5757
source: &str,
5858
source_path: &Path,
5959
) -> anyhow::Result<Self> {
60-
log::debug!("Compiling template {:?}", source_path);
60+
log::debug!("Compiling template \"{}\"", source_path.display());
6161
let tpl = Template::compile_with_name(source, "SQLPage component".to_string())?;
6262
Ok(split_template(tpl))
6363
}

0 commit comments

Comments
 (0)