]> git.lizzy.rs Git - rust.git/commit
Auto merge of #83028 - GuillaumeGomez:prevent-js-error-if-no-filter, r=Nemo157
authorbors <bors@rust-lang.org>
Sun, 14 Mar 2021 06:35:19 +0000 (06:35 +0000)
committerbors <bors@rust-lang.org>
Sun, 14 Mar 2021 06:35:19 +0000 (06:35 +0000)
commit2caeeb0527894cd61c22b5ca69bda28a2ff64de3
treecfbfaa5035393312b1ad5d2f7106f3e1ea53d87f
parent1381dcfdc5da806e0907a6f9534b97b59a6e971f
parent56898ec6a7a9d3e221860c4c94f0e16c3a9d1c35
Auto merge of #83028 - GuillaumeGomez:prevent-js-error-if-no-filter, r=Nemo157

Prevent JS error when there is no dependency or other crate documented (or --disable-per-crate-search has been used)

When there is only one crate, the dropdown is removed, creating an error (that you can see pretty easily on docs.rs for example).

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