Skip to content

Commit 41df62c

Browse files
committed
Changed tab names to those agreed upon.
Tabs are "In Names", "In Parameters", and "In Return Types".
1 parent 42ae3dc commit 41df62c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/librustdoc/html/static/main.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141

4242
// On the search screen, so you remain on the last tab you opened.
4343
//
44-
// 0 for "In name"
45-
// 1 for "As parameters"
46-
// 2 for "As return value"
44+
// 0 for "In Names"
45+
// 1 for "In Parameters"
46+
// 2 for "In Return Types"
4747
var currentTab = 0;
4848

4949
function hasClass(elem, className) {
@@ -1093,9 +1093,9 @@
10931093
output = '<h1>Results for ' + escape(query.query) +
10941094
(query.type ? ' (type: ' + escape(query.type) + ')' : '') + '</h1>' +
10951095
'<div id="titles">' +
1096-
makeTabHeader(0, "In name", results['others'].length) +
1097-
makeTabHeader(1, "As parameters", results['in_args'].length) +
1098-
makeTabHeader(2, "As return value", results['returned'].length) +
1096+
makeTabHeader(0, "In Names", results['others'].length) +
1097+
makeTabHeader(1, "In Parameters", results['in_args'].length) +
1098+
makeTabHeader(2, "In Return Types", results['returned'].length) +
10991099
'</div><div id="results">';
11001100

11011101
output += addTab(results['others'], query);

0 commit comments

Comments
 (0)