Skip to content

preserve requested formatting in some Display impls#22

Merged
sunshowers merged 1 commit intomainfrom
dap/fix-display
Apr 2, 2025
Merged

preserve requested formatting in some Display impls#22
sunshowers merged 1 commit intomainfrom
dap/fix-display

Conversation

@davepacheco
Copy link
Copy Markdown
Contributor

I'm writing some tooling with this and noticed that when I formatted ArtifactVersion and ArtifactKind into fixed-width fields, the width wasn't being honored. I guess this is the way you're supposed to delegate Display? Here's a playground that shows the problem outside of tufaceous:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=80fe4b1d5e37fb96f2abd500722bc36a

There are other impls in tufaceous that I didn't fix because they weren't in my way and it was not obvious how best to do it.

@davepacheco davepacheco requested review from iliana and sunshowers April 2, 2025 21:54
Copy link
Copy Markdown
Contributor

@sunshowers sunshowers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sunshowers sunshowers merged commit 5dac8d1 into main Apr 2, 2025
5 checks passed
@sunshowers sunshowers deleted the dap/fix-display branch April 2, 2025 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants