about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-04-30 22:32:17 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-04-30 22:32:17 +0200
commit135ee85abac2ffbff2f55725fccea5fbc3be9f38 (patch)
tree0c593eeb0ab6e0d90113c050264ad29cef98db19 /src
parent96e182833b5c17da2481e6edf5bfdb75ad004e6e (diff)
downloadrust-135ee85abac2ffbff2f55725fccea5fbc3be9f38.tar.gz
rust-135ee85abac2ffbff2f55725fccea5fbc3be9f38.zip
Rename "show type declaration" to "show declaration"
Diffstat (limited to 'src')
-rw-r--r--src/librustdoc/html/static/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index bcad2eb19f5..6d80145b29c 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 = '&nbsp;Show&nbsp;type&nbsp;declaration';
+                otherMessage = '&nbsp;Show&nbsp;declaration';
             }
             e.parentNode.insertBefore(createToggle(otherMessage), e);
             if (otherMessage && getCurrentValue('rustdoc-item-declarations') !== "false") {