From bc8f7e53a8b1fce4733b0d06fc07a1bb1f4b5949 Mon Sep 17 00:00:00 2001 From: David Leng Date: Fri, 30 Aug 2024 02:23:51 +0800 Subject: [PATCH] cli: Fix template code shouldn'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(()) } "#