diff options
| author | Piotr Jawniak <sawyer47@gmail.com> | 2017-03-04 21:29:17 +0100 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2017-03-15 07:50:44 -0700 |
| commit | 80654862831e27f249f05bcb50552510f1b5f643 (patch) | |
| tree | abeb7612df8326f2050a594c3d12e13a2afd74cd /src/test/run-pass/thinlto | |
| parent | ff63866edb511a73eed657a8a4f5c81f1ee5a9bb (diff) | |
| download | rust-80654862831e27f249f05bcb50552510f1b5f643.tar.gz rust-80654862831e27f249f05bcb50552510f1b5f643.zip | |
Change how the 0 flag works in format! for floats
Now it always implies right-alignment, so that padding zeroes are placed after the sign (if any) and before the digits. In other words, it always takes precedence over explicitly specified `[[fill]align]`.
:06 :<06 :>06 :^06
before |-001.2| |-1.200| |-001.2| |-01.20|
after |-001.2| |-001.2| |-001.2| |-001.2|
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
