diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-03-13 21:21:03 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2021-03-13 21:21:03 +0100 |
| commit | 48a3bcd860f995f7fb476b9bb4ec6b67abc7a049 (patch) | |
| tree | 4f37ae37fb3883d198c34763ebfe72a3873f36d2 /src/librustdoc/html | |
| parent | 4b9f5cc4c10a161047475cb9bbe02c4fda57fb07 (diff) | |
crates.js should use root_path and not static_root_path
Diffstat (limited to 'src/librustdoc/html')
| -rw-r--r-- | src/librustdoc/html/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index ab65c71d7d1..a717b304566 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -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}\ |
