about summary refs log tree commit diff
path: root/src/librustdoc/html/render/mod.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-31 12:11:05 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-31 15:20:45 +0200
commit9b637fa72e4d6a3aebcbf92cc4e18b94a7bf31b7 (patch)
treefa14777e94c92844e1aa72c15d4f325aff03be54 /src/librustdoc/html/render/mod.rs
parenta2ba9ef1ff363341bae9a9ced37f14fee68538ec (diff)
downloadrust-9b637fa72e4d6a3aebcbf92cc4e18b94a7bf31b7.tar.gz
rust-9b637fa72e4d6a3aebcbf92cc4e18b94a7bf31b7.zip
Improve display of the separation between page items and siblings in the sidebar
Diffstat (limited to 'src/librustdoc/html/render/mod.rs')
-rw-r--r--src/librustdoc/html/render/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/mod.rs b/src/librustdoc/html/render/mod.rs
index a7f3d70e462..19cb3950f47 100644
--- a/src/librustdoc/html/render/mod.rs
+++ b/src/librustdoc/html/render/mod.rs
@@ -1738,7 +1738,7 @@ fn print_sidebar(cx: &Context<'_>, it: &clean::Item, buffer: &mut Buffer) {
     // to navigate the documentation (though slightly inefficiently).
 
     if !it.is_mod() {
-        buffer.write_str("<p class=\"location\">");
+        buffer.write_str("<p class=\"location\">Other items in<br>");
         for (i, name) in cx.current.iter().take(parentlen).enumerate() {
             if i > 0 {
                 buffer.write_str("::<wbr>");