about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorPiotr Jawniak <sawyer47@gmail.com>2017-03-04 21:29:17 +0100
committerAlex Crichton <alex@alexcrichton.com>2017-03-15 07:50:44 -0700
commit80654862831e27f249f05bcb50552510f1b5f643 (patch)
treeabeb7612df8326f2050a594c3d12e13a2afd74cd /src/test/run-pass/thinlto
parentff63866edb511a73eed657a8a4f5c81f1ee5a9bb (diff)
downloadrust-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