diff options
| author | bors <bors@rust-lang.org> | 2021-01-01 20:01:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-01-01 20:01:45 +0000 |
| commit | 17eec1433c69972844dd228b5fe801f218e118c3 (patch) | |
| tree | fa44e67a9805cfaf52c7c2a171c3af60a01e8407 /src/librustdoc/html/static/source-script.js | |
| parent | 206ee1eea3467fd1d7f1efdbeafe27880897bb2c (diff) | |
| parent | a3958d039dc3dd7555b6b0896fd94b59e1475c94 (diff) | |
| download | rust-17eec1433c69972844dd228b5fe801f218e118c3.tar.gz rust-17eec1433c69972844dd228b5fe801f218e118c3.zip | |
Auto merge of #80569 - notriddle:patch-3, r=jyn514
Use Array.prototype.filter instead of open-coding Part of #79052, originally suggested in https://github.com/rust-lang/rust/pull/79052#discussion_r523468743 by `@jyn514` Besides making main.js smaller (always a plus), this also performs better by using the optimized filter implementation in your browser's JavaScript engine (according to `@GuillaumeGomez,` an 84% performance improvement).
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions
