From ca44d50651093a436c4c3ac9a936be334f4e561a Mon Sep 17 00:00:00 2001 From: John-John Tedro Date: Thu, 25 May 2023 21:38:03 +0200 Subject: [PATCH] Fix comma in the right location --- crates/rune-macros/src/inst_display.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rune-macros/src/inst_display.rs b/crates/rune-macros/src/inst_display.rs index 541a24e17..42a14723e 100644 --- a/crates/rune-macros/src/inst_display.rs +++ b/crates/rune-macros/src/inst_display.rs @@ -124,7 +124,7 @@ impl Derive { var }; - if !fmt_call.is_empty() { + if fmt_call.is_empty() { fmt_call.push(quote! { #fmt::Formatter::write_str(f, " ")?; });