bors 3e6b29f8ad auto merge of #20136 : eddyb/rust/format-args, r=alexcrichton
We have the technology: no longer do you need to write closures to use `format_args!`.
This is a `[breaking-change]`, as it forces you to clean up old hacks - if you had code like this:
```rust
format_args!(fmt::format, "{} {} {}", a, b, c)
format_args!(|args| { w.write_fmt(args) }, "{} {} {}", x, y, z)
```
change it to this: 
```rust
fmt::format(format_args!("{} {} {}", a, b, c))
w.write_fmt(format_args!("{} {} {}", x, y, z))
```
To allow them to be called with `format_args!(...)` directly, several functions were modified to
take `fmt::Arguments` by value instead of by reference. Also, `fmt::Arguments` derives `Copy`
now in order to preserve all usecases that were previously possible.
2014-12-28 03:11:48 +00:00
..
2014-12-21 23:31:42 -08:00
2014-12-21 23:31:42 -08:00
2014-12-23 22:06:32 +13:00
2014-12-21 23:31:42 -08:00
2014-12-21 23:31:42 -08:00
2014-12-21 23:31:42 -08:00
2014-12-21 23:31:42 -08:00
2014-12-22 00:14:56 -08:00
2014-12-21 23:31:42 -08:00