mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-17 05:25:37 +03:00
b1858447d3
The documentation for flt2dec doesn't match up with the actual implementation, so fix the documentation to align with reality. Presumably due to the mismatch, the formatting code for floats in std::fmt can use correspondingly shorter arrays in some places, so fix those places up as well. Fixes #41304.