about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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>\