rust/library/core
Matthias Krüger b3853ccc9d
Rollup merge of #116326 - Colonial-Dev:issue-116165-fix, r=joshtriplett
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.
2023-10-02 16:23:53 +02:00
..
benches fix 2023-07-23 09:58:31 +00:00
src Rollup merge of #116326 - Colonial-Dev:issue-116165-fix, r=joshtriplett 2023-10-02 16:23:53 +02:00
tests Auto merge of #116176 - FedericoStra:isqrt, r=dtolnay 2023-09-29 07:35:44 +00:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00