]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #89535 - notriddle:notriddle/error-index-generator-js, r=Mark-Simulacrum
authorManish Goregaokar <manishsmail@gmail.com>
Tue, 5 Oct 2021 06:56:25 +0000 (23:56 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Oct 2021 06:56:25 +0000 (23:56 -0700)
commit068683baf12f61d5ffbf8a7e4858c4e0c3320f3b
treea39ab48aab1c9740253a22c9ac29b32953e97a45
parentbf62c6d710d5fe555565342a8e3ab5f89913e44f
parentccd2be5b91a5536bc18a90d20a77f10ac052e54c
Rollup merge of #89535 - notriddle:notriddle/error-index-generator-js, r=Mark-Simulacrum

fix busted JavaScript in error index generator

The old JavaScript didn't work. It filled the browser console with "e.previousElementSibling not defined" errors, because it didn't account for the example-wrap div that a newer version of rustdoc added.

Additionally, it had copied versions of utility functions that had been optimized in rustdoc main.js. This version updates those.