about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-10-02 16:23:53 +0200
committerGitHub <noreply@github.com>2023-10-02 16:23:53 +0200
commitb3853ccc9d1f0f444682441d1c1a73453960fb04 (patch)
tree3f0ce7328e170e6e955c739e6d0a172d7ab46c0b /compiler/rustc_codegen_llvm/src
parente51a2aaa4ec54d970ec80c3470df5546139dae98 (diff)
parentf2ecf7c51114fe4b620334843eb4a6f6d3f6cbfd (diff)
downloadrust-b3853ccc9d1f0f444682441d1c1a73453960fb04.tar.gz
rust-b3853ccc9d1f0f444682441d1c1a73453960fb04.zip
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.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions