Skip to content

Commit f293f70

Browse files
committed
Auto merge of #83094 - GuillaumeGomez:crates-js-location, r=Nemo157
crates.js should use root_path and not static_root_path r? `@Nemo157`
2 parents 2caeeb0 + 48a3bcd commit f293f70

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
@@ -58,7 +58,7 @@ crate fn render<T: Print, S: Print>(
5858
{style_files}\
5959
<script id=\"default-settings\"{default_settings}></script>\
6060
<script src=\"{static_root_path}storage{suffix}.js\"></script>\
61-
<script src=\"{static_root_path}crates{suffix}.js\"></script>\
61+
<script src=\"{root_path}crates{suffix}.js\"></script>\
6262
<noscript><link rel=\"stylesheet\" href=\"{static_root_path}noscript{suffix}.css\"></noscript>\
6363
{css_extension}\
6464
{favicon}\

0 commit comments

Comments
 (0)