Skip to content

Commit 01dc9f0

Browse files
committed
Changed toggle all sections key to T
Allows both `T` and `t`. It had been [Shift]+[+] before.
1 parent ab09fbc commit 01dc9f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/librustdoc/html/layout.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ r##"<!DOCTYPE html>
103103
<dd>Move down in search results</dd>
104104
<dt>&#9166;</dt>
105105
<dd>Go to active search result</dd>
106-
<dt>+</dt>
106+
<dt>T</dt>
107107
<dd>Collapse/expand all sections</dd>
108108
</dl>
109109
</div>

src/librustdoc/html/static/main.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,8 @@
124124
focusSearchBar();
125125
break;
126126

127-
case "+":
127+
case "t":
128+
case "T":
128129
toggleAllDocs();
129130
break;
130131

0 commit comments

Comments
 (0)