about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2019-10-26 11:26:02 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2019-10-26 12:59:54 +0200
commit1f25fd74a03f9c502851067a3e2b089a1a332da5 (patch)
tree488e398d5f54c06e3e579f81b16b6cdec6b689a5
parent23f890f10202a71168c6424da0cdf94135d3c40c (diff)
downloadrust-1f25fd74a03f9c502851067a3e2b089a1a332da5.tar.gz
rust-1f25fd74a03f9c502851067a3e2b089a1a332da5.zip
Add more information on search
-rw-r--r--src/librustdoc/html/layout.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs
index 6414241727a..83793f9d821 100644
--- a/src/librustdoc/html/layout.rs
+++ b/src/librustdoc/html/layout.rs
@@ -150,6 +150,14 @@ pub fn render<T: Print, S: Print>(
                     Search multiple things at once by splitting your query with comma (e.g., \
                     <code>str,u8</code> or <code>String,struct:Vec,test</code>)\
                 </p>\
+                <p>\
+                    You can look for items with an exact name by putting double quotes around \
+                    your request: <code>\"string\"</code>\
+                </p>\
+                <p>\
+                    Look for items inside another one by searching for a path: \
+                    <code>vec::Vec</code>\
+                </p>\
             </div>\
         </div>\
     </aside>\