Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/outer-level-enum-formatting' int…
Browse files Browse the repository at this point in the history
…o outer-level-enum-formatting
  • Loading branch information
tyranron committed Jul 25, 2024
2 parents 9612477 + 43c8464 commit e614fbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impl/src/fmt/display.rs
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ impl<'a> Expansion<'a> {
if self.shared_attr.is_some() {
quote! { #ident_str }
} else {
quote! { derive_more::core::write!(__derive_more_f, #ident_str) }
quote! { __derive_more_f.write_str(#ident_str) }
}
}
None if self.fields.len() == 1 => {
Expand Down

0 comments on commit e614fbd

Please sign in to comment.