diff options
| author | kennytm <kennytm@gmail.com> | 2018-12-01 01:05:56 +0800 |
|---|---|---|
| committer | kennytm <kennytm@gmail.com> | 2018-12-01 02:03:41 +0800 |
| commit | ce00a8dd4d795f47a38a207af861a2cffcee7256 (patch) | |
| tree | 2a6bc7612cd2b92a7766bc2d227617734106464b /src/libsyntax/parse/parser.rs | |
| parent | f7c407eb8bc9413d9d1449eeda9710715ad255a2 (diff) | |
| parent | 6674db48872c1b84fe3ac3feb94b8d3e0ee82b24 (diff) | |
| download | rust-ce00a8dd4d795f47a38a207af861a2cffcee7256.tar.gz rust-ce00a8dd4d795f47a38a207af861a2cffcee7256.zip | |
Rollup merge of #56268 - nnethercote:fold_opt_expr-recycle, r=petrochenkov
Reuse the `P` in `InvocationCollector::fold_{,opt_}expr`.
This requires adding a new method, `P::filter_map`.
This commit reduces instruction counts for various benchmarks by up to
0.7%.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions
