From 135ee85abac2ffbff2f55725fccea5fbc3be9f38 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Mon, 30 Apr 2018 22:32:17 +0200 Subject: [PATCH] Rename "show type declaration" to "show declaration" --- src/librustdoc/html/static/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js index bcad2eb19f574..6d80145b29c7c 100644 --- a/src/librustdoc/html/static/main.js +++ b/src/librustdoc/html/static/main.js @@ -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") {