Skip to content

Commit 6484fe9

Browse files
committed
expressions: Fix Template Display impl
Signed-off-by: Lann Martin <lann.martin@fermyon.com>
1 parent caafc19 commit 6484fe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/expressions/src/template.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl Display for Template {
5555
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
5656
self.parts().try_for_each(|part| match part {
5757
Part::Lit(lit) => f.write_str(lit),
58-
Part::Expr(expr) => write!(f, "{{ {} }}", expr),
58+
Part::Expr(expr) => write!(f, "{{{{ {} }}}}", expr),
5959
})
6060
}
6161
}

0 commit comments

Comments
 (0)