Skip to content

Commit

Permalink
Auto merge of #83094 - GuillaumeGomez:crates-js-location, r=Nemo157
Browse files Browse the repository at this point in the history
crates.js should use root_path and not static_root_path

r? `@Nemo157`
  • Loading branch information
bors committed Mar 14, 2021
2 parents 2caeeb0 + 48a3bcd commit f293f70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ crate fn render<T: Print, S: Print>(
{style_files}\
<script id=\"default-settings\"{default_settings}></script>\
<script src=\"{static_root_path}storage{suffix}.js\"></script>\
<script src=\"{static_root_path}crates{suffix}.js\"></script>\
<script src=\"{root_path}crates{suffix}.js\"></script>\
<noscript><link rel=\"stylesheet\" href=\"{static_root_path}noscript{suffix}.css\"></noscript>\
{css_extension}\
{favicon}\
Expand Down

0 comments on commit f293f70

Please sign in to comment.