about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@gmail.com>2017-04-13 16:24:30 -0400
committerNathan Froyd <froydnj@gmail.com>2017-04-28 15:33:17 -0400
commit2499d819d41b87d9b562377479e4a81f74bd49f1 (patch)
tree81ab890de6b111b162f280c8cff2157fb96a3cfe /src/test/ui/thinlto
parenta21f61685d4aa2bd93152eaf53c469b29a3a9bee (diff)
downloadrust-2499d819d41b87d9b562377479e4a81f74bd49f1.tar.gz
rust-2499d819d41b87d9b562377479e4a81f74bd49f1.zip
fmt: use the minimum parts array size
The comments for flt2dec::to_shortest_str says that we only need a slice
of length 5 for the parts array.  Initializing a 16-part array is just
wasted effort and wasted stack space.  Other functions in the flt2dec
module have similar comments, so we adjust the parts arrays passed to
those functions accordingly.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions