about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-06-23 08:45:17 +0000
committerbors <bors@rust-lang.org>2021-06-23 08:45:17 +0000
commitb6f3cb9502b1910f6af32f426fdb78e813b390ef (patch)
tree34f10212da90a5ff0c7a33e479ff200da4c08a63 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent2ce052bb8d8e4b421f08541ffa1f4c7fc5ea7a72 (diff)
parentc4023c6ca31f80cb7fa3cbebc9f0095d5f649d53 (diff)
downloadrust-b6f3cb9502b1910f6af32f426fdb78e813b390ef.tar.gz
rust-b6f3cb9502b1910f6af32f426fdb78e813b390ef.zip
Auto merge of #86548 - GuillaumeGomez:fix-crate-filter-search-reset, r=jsha
Fix crate filter search reset

I found a fun bug when using rustdoc recently: I made a search, cut the search input content, changed the crate filter, pasted back the input content. To my surprise, the crate filter wasn't applied. It's because that our search input was empty when receiving the `<select>` "onchange" event. To fix this issue, I reset the `currentResults` variable to `null`.

It's using the first commit from #86542 so it needs to wait for it before getting merged.

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