Skip to content

Commit 9d49569

Browse files
committed
clippy
1 parent 4f72d1e commit 9d49569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webserver/database/syntax_tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ impl std::fmt::Display for StmtParam {
4444
if let Some((i, _)) = x.char_indices().nth(21) {
4545
write!(f, "## {}... ##", &x[..i])
4646
} else {
47-
write!(f, "## {} ##", x)
47+
write!(f, "## {x} ##")
4848
}
4949
}
5050
}

0 commit comments

Comments
 (0)