]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #104581 - notriddle:notriddle/js-iife-2, r=GuillaumeGomez
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 20 Nov 2022 22:50:28 +0000 (23:50 +0100)
committerGitHub <noreply@github.com>
Sun, 20 Nov 2022 22:50:28 +0000 (23:50 +0100)
commitb2ee0df1b4dec2d4b029c1ae53f0a39bcde45e58
treecd53f04bbc10ca72cdac60d477c0f166dfe3ebba
parentfce077b05362bee14d01335e52bd6b6b9cf88682
parent7db7cbd49f89ed38212cb062605eaaced2e1bc79
Rollup merge of #104581 - notriddle:notriddle/js-iife-2, r=GuillaumeGomez

rustdoc: remove unused JS IIFE from main.js

This [IIFE] made sense when it was added in deaf5e200e79a75ac57d3f0952f6758a38168e52 and there was a local variable scoped to it, but now it calls a function, but declares nothing.

[IIFE]: https://developer.mozilla.org/en-US/docs/Glossary/IIFE "immediately invoked function expression"
src/librustdoc/html/static/js/main.js