]> git.lizzy.rs Git - rust.git/commit
auto merge of #8446 : alexcrichton/rust/ifmt++, r=graydon
authorbors <bors@rust-lang.org>
Wed, 14 Aug 2013 02:23:21 +0000 (19:23 -0700)
committerbors <bors@rust-lang.org>
Wed, 14 Aug 2013 02:23:21 +0000 (19:23 -0700)
commit7585b34d3171eb79057dbf8196312b08a5bc328b
tree3531f8443816138646d28cd0651e09d9190a8886
parent433fbe8fcf13724445cc57c85cc454352c969429
parent36882b3d54043efc9f78459da39471fb8d5e6239
auto merge of #8446 : alexcrichton/rust/ifmt++, r=graydon

This includes a number of improvements to `ifmt!`

* Implements formatting arguments -- `{:0.5x}` works now
* Formatting now works on all integer widths, not just `int` and `uint`
* Added a large doc block to `std::fmt` which should help explain what `ifmt!` is all about
* Added floating point formatters, although they have the same pitfalls from before (they're just proof-of-concept now)

Closed a couple of issues along the way, yay! Once this gets into a snapshot, I'll start looking into removing all of `fmt`
src/libstd/str.rs