Rename "show type declaration" to "show declaration"

This commit is contained in:
Guillaume Gomez 2018-04-30 22:32:17 +02:00
parent 96e182833b
commit 135ee85aba

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") {