mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
453979462a
Previously, search.js relied on the DOM and the `window` object. It can now be loaded in the absence of the DOM, for instance by Node. The same is true of search-index.js. This allows removing a lot of code from src/tools/rustdoc-js/tester.js that tried to parse search.js and extract specific functions that were needed for testing.