diff options
| author | kennytm <kennytm@gmail.com> | 2018-08-10 01:03:45 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-08-10 01:03:45 +0800 |
| commit | 762855d23ad05f02490c36acc692ff77bcc6809b (patch) | |
| tree | 2a994e4e5727fda6f7bfb212abe0cfc10a847165 /src/test/incremental/thinlto | |
| parent | e2d0e3f6ace4aeec1b66e42fa41d168809b1f224 (diff) | |
| parent | aab063a40e46357ef803c0f369afa1a1dcafb4bd (diff) | |
| download | rust-762855d23ad05f02490c36acc692ff77bcc6809b.tar.gz rust-762855d23ad05f02490c36acc692ff77bcc6809b.zip | |
Rollup merge of #53215 - ljedrz:refactor_format, r=estebank
Slightly refactor syntax_ext/format expand_preparsed_format_args: - move a potential error `return` earlier in the processing - pre-allocate some of the required space for `cx.pieces` and `cx.str_pieces` - create `cx`-independent objects before `cx` - build `pieces` and `errs` using `collect` instead of a `push` loop describe_num_args: - return `Cow<str>` instead of `String`
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
