]> git.lizzy.rs Git - rust.git/commit - src/tools/rustfmt
Auto merge of #80554 - GuillaumeGomez:more-js-cleanup, r=jyn514
authorbors <bors@rust-lang.org>
Mon, 4 Jan 2021 05:04:04 +0000 (05:04 +0000)
committerbors <bors@rust-lang.org>
Mon, 4 Jan 2021 05:04:04 +0000 (05:04 +0000)
commit0cd459fd629bc5444cdbda3ceb341cd0bf6eece2
treea00cd7ba0fdfbab54edacd8e136600cbed3201f3
parent8989689e728895147e41c497e7ca69e7f82f69d7
parent8b6304ed6240c9e0f2776bce9a8c311c47e17e1f
Auto merge of #80554 - GuillaumeGomez:more-js-cleanup, r=jyn514

More js cleanup

Part of #79052 (Same kind as #80515).

This one is about some small fixes:
 * Replacing some loops with `onEachLazy`.
 * Removing unused function arguments.
 * Turn `buildHelperPopup` into a variable so it can be "replaced" once the function has been called once so it's not called again.

r? `@jyn514`
src/librustdoc/html/static/main.js