mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 07:35:50 +00:00
Fix Lower/UpperExp formatting for integers and precision zero Fixes the integer part of #89493 (I daren't touch the floating-point formatting code). The issue is that the "subtracted" precision essentially behaves like extra trailing zeros, but this is not currently reflected in the code properly.