rust icon indicating copy to clipboard operation
rust copied to clipboard

Specialize `ToString` implementation on `u128` and `i128`

Open GuillaumeGomez opened this issue 5 months ago • 1 comments

Part of https://github.com/rust-lang/rust/issues/135543.

Follow-up of rust-lang/rust#136264.

When working on https://github.com/rust-lang/rust/pull/142098, I realized that i128 and u128 could also benefit from the ToString specialization so here it.

The last commit is just me realizing that I forgot to add the format tests for usize and isize.

GuillaumeGomez avatar Jun 10 '25 13:06 GuillaumeGomez