Skip to content

Commit 73042c5

Browse files
committed
Rollup merge of rust-lang#50349 - GuillaumeGomez:rename-type-declaration-label, r=estebank
Rename "show type declaration" to "show declaration" Fixes rust-lang#50347. r? @QuietMisdreavus
2 parents 4e3da52 + 135ee85 commit 73042c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/static/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,7 @@
19961996
if (e.parentNode.id === "main") {
19971997
var otherMessage;
19981998
if (hasClass(e, "type-decl")) {
1999-
otherMessage = ' Show type declaration';
1999+
otherMessage = ' Show declaration';
20002000
}
20012001
e.parentNode.insertBefore(createToggle(otherMessage), e);
20022002
if (otherMessage && getCurrentValue('rustdoc-item-declarations') !== "false") {

0 commit comments

Comments
 (0)