Skip to content

Reduce integer Display implementation size#133247

Merged
bors merged 2 commits intorust-lang:masterfrom
GuillaumeGomez:reduce-integer-display-impl
Nov 25, 2024
Merged

Reduce integer Display implementation size#133247
bors merged 2 commits intorust-lang:masterfrom
GuillaumeGomez:reduce-integer-display-impl

Conversation

@GuillaumeGomez
Copy link
Member

I was thinking about #128204 and how we could reduce the size of the code and just realized that we didn't need the _fmt method to be implemented on signed integers, which in turns allow to simplify greatly the macro call.

r? @workingjubilee

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-bors This PR was explicitly merged by bors. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants