Skip to content

Commit

Permalink
Rename "show type declaration" to "show declaration"
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Apr 30, 2018
1 parent 96e1828 commit 135ee85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/html/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 135ee85

Please sign in to comment.