Skip to content

Commit e598394

Browse files
authored
Rollup merge of #50284 - GuillaumeGomez:search-load-failure, r=SimonSapin
fix search load page failure Fixes #50283. r? @QuietMisdreavus
2 parents 3f84ce2 + 74412d2 commit e598394

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/layout.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,9 @@ pub fn render<T: fmt::Display, S: fmt::Display>(
146146
window.rootPath = \"{root_path}\";\
147147
window.currentCrate = \"{krate}\";\
148148
</script>\
149+
<script src=\"{root_path}aliases.js\"></script>\
149150
<script src=\"{root_path}main{suffix}.js\"></script>\
150151
<script defer src=\"{root_path}search-index.js\"></script>\
151-
<script defer src=\"{root_path}aliases.js\"></script>\
152152
</body>\
153153
</html>",
154154
css_extension = if css_file_extension {

0 commit comments

Comments
 (0)