diff options
| author | Michael Howell <michael@notriddle.com> | 2023-12-14 19:31:29 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-12-14 20:08:53 -0700 |
| commit | 09c8fd35ac1e24416207feaae04a499768994498 (patch) | |
| tree | 52aeaf2bd68c6668677290c123ed5990bca85f0f /compiler/rustc_resolve/src/rustdoc.rs | |
| parent | de686cbc65478db53e3d51c52497685e852cc092 (diff) | |
| download | rust-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
