Rollup merge of #65842 - GuillaumeGomez:more-search-information, r=Dylan-DPC

Add more information on rustdoc search

Fixes #65735.

r? @kinnison
This commit is contained in:
Mazdak Farrokhzad 2019-10-26 14:17:51 +02:00 committed by GitHub
commit d319ba2ccc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>\