about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-04-14 17:20:36 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-04-14 17:20:36 +0200
commitc83c7c91f5eaeef349d356bfb3272d619ac54401 (patch)
tree21e9b21f92562edab80798f9ee60f6ffeba900dd
parentd08f8978e7b883cb01ec8f1118b5eeb3ebc94ab4 (diff)
downloadrust-c83c7c91f5eaeef349d356bfb3272d619ac54401.tar.gz
rust-c83c7c91f5eaeef349d356bfb3272d619ac54401.zip
Add doc
-rw-r--r--src/librustdoc/html/layout.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs
index 88d28323e1a..583c9f2b671 100644
--- a/src/librustdoc/html/layout.rs
+++ b/src/librustdoc/html/layout.rs
@@ -131,6 +131,10 @@ pub fn render<T: fmt::Display, S: fmt::Display>(
                     Search functions by type signature (e.g. \
                     <code>vec -> usize</code> or <code>* -> vec</code>)\
                 </p>\
+                <p>\
+                    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>\
             </div>\
         </div>\
     </aside>\