about summary refs log tree commit diff
path: root/src/librustdoc/html/layout.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-02 16:35:48 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-31 10:30:16 +0200
commitdab01a05fb0300873728cedff8164f87804f19ef (patch)
tree5b10846adf681b69ed71ac83a81716fa70472f6b /src/librustdoc/html/layout.rs
parentdc08641128737ee0832bb61f24fe9212ca000f32 (diff)
downloadrust-dab01a05fb0300873728cedff8164f87804f19ef.tar.gz
rust-dab01a05fb0300873728cedff8164f87804f19ef.zip
* Put crates list at all levels
* Fix bug in module sidebar: the list of items was from the parent module
Diffstat (limited to 'src/librustdoc/html/layout.rs')
-rw-r--r--src/librustdoc/html/layout.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs
index ec04c94dc11..75e4cee9e67 100644
--- a/src/librustdoc/html/layout.rs
+++ b/src/librustdoc/html/layout.rs
@@ -119,7 +119,7 @@ crate fn render<T: Print, S: Print>(
     {after_content}\
     <div id=\"rustdoc-vars\" data-root-path=\"{root_path}\" data-current-crate=\"{krate}\" \
        data-search-index-js=\"{root_path}search-index{suffix}.js\" \
-       data-search-js=\"{static_root_path}search{suffix}.js\"></div>
+       data-search-js=\"{static_root_path}search{suffix}.js\"></div>\
     <script src=\"{static_root_path}main{suffix}.js\"></script>\
     {extra_scripts}\
 </body>\