Skip to content

Commit 74412d2

Browse files
fix search load page failure
1 parent 71d3dac commit 74412d2

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)