]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #57614 - GuillaumeGomez:fix-crate-filtering, r=QuietMisdreavus
authorMazdak Farrokhzad <twingoow@gmail.com>
Tue, 15 Jan 2019 11:42:14 +0000 (12:42 +0100)
committerGitHub <noreply@github.com>
Tue, 15 Jan 2019 11:42:14 +0000 (12:42 +0100)
commit9947b3060c165ef2677c0e0454991a53ef743224
treeb1f7665bd924ad88138b25bfe5a0601a459f37bc
parenta52ec3c9eeee89ea2ea6eb5716f5e796a0dc1cfc
parent0d695ff33089c91a68c4be0877a53a216b991f10
Rollup merge of #57614 - GuillaumeGomez:fix-crate-filtering, r=QuietMisdreavus

[rustdoc] Fix crates filtering box not being filled

Currently, the filter crate box (at the left of the search input) is always empty. To get the number of keys of dictionary in JS, you need to call `Object.keys()` on it.

r? @QuietMisdreavus
src/librustdoc/html/static/main.js