about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/rustdoc.rs
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-12-14 19:31:29 -0700
committerMichael Howell <michael@notriddle.com>2023-12-14 20:08:53 -0700
commit09c8fd35ac1e24416207feaae04a499768994498 (patch)
tree52aeaf2bd68c6668677290c123ed5990bca85f0f /compiler/rustc_resolve/src/rustdoc.rs
parentde686cbc65478db53e3d51c52497685e852cc092 (diff)
downloadrust-09c8fd35ac1e24416207feaae04a499768994498.tar.gz
rust-09c8fd35ac1e24416207feaae04a499768994498.zip
rustdoc-search: fix a race condition in search index loading
`var` declare it in the global scope, and `const` does not.
It needs to be declared in global scope.
Diffstat (limited to 'compiler/rustc_resolve/src/rustdoc.rs')
0 files changed, 0 insertions, 0 deletions