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:
commit
73042c54f5
1 changed files with 1 additions and 1 deletions
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue