mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
b3853ccc9d
Correct misleading std::fmt::Binary example (#116165) Nothing too crazy... - Add two to the width specifier (so all 32 bits are correctly displayed) - Pad out the compared string so the assert passes - Add `// Note` comment highlighting the need for the extra width when using the `#` flag. The exact contents (and placement?) of the note are, of course, highly bikesheddable.