about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-07-28 16:24:57 +0800
committerGitHub <noreply@github.com>2018-07-28 16:24:57 +0800
commit7da22148ec96476ed639d11b85b5874efe52d916 (patch)
tree5bf3fd20847378fccad42228bcbe0df481a3f3ee /src/libsyntax/parse/parser.rs
parent80c798b982d972261705f72f4585959476fbcf73 (diff)
parentacd38f656ad20166f25f527530ddc32a523c9e97 (diff)
downloadrust-7da22148ec96476ed639d11b85b5874efe52d916.tar.gz
rust-7da22148ec96476ed639d11b85b5874efe52d916.zip
Rollup merge of #52703 - ljedrz:vec_improvements, r=nikomatsakis
Improve a few vectors - calculate capacity or build from iterators

Collecting from iterators improves readability and tailoring vector capacities should be beneficial in terms of performance.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
0 files changed, 0 insertions, 0 deletions