Skip to content

Commit 1f25fd7

Browse files
Add more information on search
1 parent 23f890f commit 1f25fd7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/librustdoc/html/layout.rs

+8
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,14 @@ pub fn render<T: Print, S: Print>(
150150
Search multiple things at once by splitting your query with comma (e.g., \
151151
<code>str,u8</code> or <code>String,struct:Vec,test</code>)\
152152
</p>\
153+
<p>\
154+
You can look for items with an exact name by putting double quotes around \
155+
your request: <code>\"string\"</code>\
156+
</p>\
157+
<p>\
158+
Look for items inside another one by searching for a path: \
159+
<code>vec::Vec</code>\
160+
</p>\
153161
</div>\
154162
</div>\
155163
</aside>\

0 commit comments

Comments
 (0)