about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-02-26 10:27:42 +0100
committerGitHub <noreply@github.com>2024-02-26 10:27:42 +0100
commita1593a678f674e9f43696ae61eb192620e2ccc72 (patch)
treec43f8d7f34738c00a83e45b709eb1f8e4d8bcfb8 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent5bd909227dd8cc3ec5127369282167cda40d1261 (diff)
parent3af67bba18f7a204a93831f3eafa26a73de11721 (diff)
downloadrust-a1593a678f674e9f43696ae61eb192620e2ccc72.tar.gz
rust-a1593a678f674e9f43696ae61eb192620e2ccc72.zip
Rollup merge of #121590 - GuillaumeGomez:rustdoc-js-changed, r=notriddle
Correctly handle if rustdoc JS script hash changed

It's something that annoyed me for quite some time: I have nightly docs open (for both std and compiler). And often, I don't look at the page for some days. Then when I come back to it, I make a search... except nothing happens. Took me a while to figure out that it was because the hash of one of the JS files we load for the search (either `search.js` or `search-index.js`) was updated in the meantime, preventing the search to be done. To go around it, I added to press `ENTER` to make the form submitted (which would reload the same page but with the correct hashes this time and the search being run).

r? `@notriddle`
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions