1
Fork 0

Rollup merge of #50349 - GuillaumeGomez:rename-type-declaration-label, r=estebank

Rename "show type declaration" to "show declaration"

Fixes #50347.

r? @QuietMisdreavus
This commit is contained in:
kennytm 2018-05-03 16:11:29 +08:00
commit 73042c54f5
No known key found for this signature in database
GPG key ID: FEF6C8051D0E013C

View file

@ -1996,7 +1996,7 @@
if (e.parentNode.id === "main") {
var otherMessage;
if (hasClass(e, "type-decl")) {
otherMessage = ' Show type declaration';
otherMessage = ' Show declaration';
}
e.parentNode.insertBefore(createToggle(otherMessage), e);
if (otherMessage && getCurrentValue('rustdoc-item-declarations') !== "false") {