From 59e64f3303d2ecc30ea4a0861c27083022f017f8 Mon Sep 17 00:00:00 2001 From: David Leng Date: Fri, 30 Aug 2024 02:19:39 +0800 Subject: [PATCH] fix template shoudn't escape --- cli/src/rust_template.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/rust_template.rs b/cli/src/rust_template.rs index efea3b360d..c2e643bcc0 100644 --- a/cli/src/rust_template.rs +++ b/cli/src/rust_template.rs @@ -143,7 +143,7 @@ pub use initialize::*; pub struct Initialize {} pub fn handler(ctx: Context) -> Result<()> { - msg!("Greetings from: {{:?}}", ctx.program_id); + msg!("Greetings from: {:?}", ctx.program_id); Ok(()) } "#