Skip to content

Commit

Permalink
codegen: Fix formatting issue caused by #1616
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Nov 19, 2024
1 parent 64edf28 commit 1b34ebb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/codegen/trait_impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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} {{}}"
)
}

Expand Down Expand Up @@ -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,
"\
Expand Down Expand Up @@ -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,
"\
Expand Down

0 comments on commit 1b34ebb

Please sign in to comment.