From 84378cadc2ec153c5d8cd70f1686afc927c3e404 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 19 Nov 2024 10:45:38 +0100 Subject: [PATCH] codegen: Fix formatting issue caused by #1616 --- src/codegen/trait_impls.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/codegen/trait_impls.rs b/src/codegen/trait_impls.rs index 078f8e5cc..e006c4d5b 100644 --- a/src/codegen/trait_impls.rs +++ b/src/codegen/trait_impls.rs @@ -206,10 +206,11 @@ impl PartialEq for {type_name} {{ version_condition(w, env, None, version, false, 0)?; cfg_condition_no_doc(w, cfg_condition, false, 0)?; + writeln!(w)?; writeln!( w, "\ -impl Eq for {type_name} {{}}" + impl Eq for {type_name} {{}}" ) } @@ -243,6 +244,7 @@ impl PartialEq for {type_name} {{ version_condition(w, env, None, version, false, 0)?; cfg_condition_no_doc(w, cfg_condition, false, 0)?; + writeln!(w)?; writeln!( w, "\ @@ -279,6 +281,7 @@ impl PartialOrd for {type_name} {{ version_condition(w, env, None, version, false, 0)?; cfg_condition_no_doc(w, cfg_condition, false, 0)?; + writeln!(w)?; writeln!( w, "\