Skip to content

Commit 42ae3dc

Browse files
committed
"Types/modules" in tab to "In name"
"Types/modules" doesn't properly describe the results since it includes other things whose name matches the search term.
1 parent e312c8a commit 42ae3dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141

4242
// On the search screen, so you remain on the last tab you opened.
4343
//
44-
// 0 for "Types/modules"
44+
// 0 for "In name"
4545
// 1 for "As parameters"
4646
// 2 for "As return value"
4747
var currentTab = 0;
@@ -1093,7 +1093,7 @@
10931093
output = '<h1>Results for ' + escape(query.query) +
10941094
(query.type ? ' (type: ' + escape(query.type) + ')' : '') + '</h1>' +
10951095
'<div id="titles">' +
1096-
makeTabHeader(0, "Types/modules", results['others'].length) +
1096+
makeTabHeader(0, "In name", results['others'].length) +
10971097
makeTabHeader(1, "As parameters", results['in_args'].length) +
10981098
makeTabHeader(2, "As return value", results['returned'].length) +
10991099
'</div><div id="results">';

0 commit comments

Comments
 (0)