[rustdoc] Fix random failure when JS code is executed when the whole file was not read yet #142496
GuillaumeGomez:fix-random-search-failure% was force-pushed and no longer has any new commits.
Pushing new commits will allow the pull request to be re-opened.