rust/src/libsyntax
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
..
ast_map rollup merge of #20056: MrFloya/iter_rename 2014-12-22 12:49:57 -08:00
diagnostics Fallout of std::str stabilization 2014-12-21 23:31:42 -08:00
ext auto merge of #20136 : eddyb/rust/format-args, r=alexcrichton 2014-12-28 03:11:48 +00:00
parse Add syntax for ranges 2014-12-24 09:12:45 +13:00
print Add syntax for ranges 2014-12-24 09:12:45 +13:00
util rollup merge of #20056: MrFloya/iter_rename 2014-12-22 12:49:57 -08:00
abi.rs serialize: Fully deprecate the library 2014-12-22 00:14:56 -08:00
ast.rs Add syntax for ranges 2014-12-24 09:12:45 +13:00
ast_util.rs rollup merge of #20033: alexcrichton/deprecate-serialise 2014-12-22 12:46:31 -08:00
attr.rs rollup merge of #20033: alexcrichton/deprecate-serialise 2014-12-22 12:46:31 -08:00
codemap.rs rollup merge of #20033: alexcrichton/deprecate-serialise 2014-12-22 12:46:31 -08:00
config.rs Parse unsafe impl but don't do anything particularly interesting with the results. 2014-12-14 11:11:55 -05:00
diagnostic.rs Fallout of std::str stabilization 2014-12-21 23:31:42 -08:00
feature_gate.rs Remove Ascii, AsciiCast, OwnedAsciiCast, AsciiStr, IntoBytes, IntoString. 2014-12-25 12:19:37 +01:00
fold.rs Add syntax for ranges 2014-12-24 09:12:45 +13:00
lib.rs serialize: Fully deprecate the library 2014-12-22 00:14:56 -08:00
owned_slice.rs Renaming of the Iter types as in RFC #344 2014-12-22 12:58:55 +01:00
ptr.rs libsyntax: use unboxed closures 2014-12-13 17:03:47 -05:00
show_span.rs rebasing fixes 2014-09-17 16:53:20 +12:00
std_inject.rs Fallout of std::str stabilization 2014-12-21 23:31:42 -08:00
test.rs Fallout of std::str stabilization 2014-12-21 23:31:42 -08:00
visit.rs Add syntax for ranges 2014-12-24 09:12:45 +13:00