Skip to content

Commit

Permalink
Rollup merge of #65842 - GuillaumeGomez:more-search-information, r=Dy…
Browse files Browse the repository at this point in the history
…lan-DPC

Add more information on rustdoc search

Fixes #65735.

r? @kinnison
  • Loading branch information
Centril authored Oct 26, 2019
2 parents d0d284e + 1f25fd7 commit d319ba2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/librustdoc/html/layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>\
Expand Down

0 comments on commit d319ba2

Please sign in to comment.