rust/src/libcore/fmt
Alex Crichton 2795811f92 rollup merge of #24379: rkruppe/fmt-negative-zero
Fixes #20596 by making `Debug` render negative zero with a `-` without affecting the behavior of `Display`.

While I was at it, I also removed some dead code from `float_to_str_bytes_common` (the one from `libcore/fmt/float.rs`, not the function of the same name in `libstd/num/strconv.rs`). It had support for different bases, and for negative numbers, but the function is internal to core and the couple places that call it (all in `libcore/fmt/mod.rs`) never use those features: They pass in `num.abs()` and base 10.
2015-04-14 10:55:51 -07:00
..
rt Destabilize format_args! internals. 2015-04-12 22:01:55 -07:00
builders.rs Update debug helpers and add list builder 2015-03-28 10:33:51 -07:00
float.rs Make Debug include the - in -0.0 2015-04-12 23:39:03 +02:00
mod.rs rollup merge of #24379: rkruppe/fmt-negative-zero 2015-04-14 10:55:51 -07:00
num.rs Fallout in public-facing and semi-public-facing libs 2015-04-01 11:23:45 -04:00