about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2020-08-27 12:56:43 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2020-08-27 14:22:54 +0200
commit1727c7a194187af70f44f3f5b160eea8439cbc6d (patch)
tree3bb4530e2914aea15b6a82466204e0a02a15e8ef
parent2fe9a33659641d062c1fe3577327147b4d9943a2 (diff)
downloadrust-1727c7a194187af70f44f3f5b160eea8439cbc6d.tar.gz
rust-1727c7a194187af70f44f3f5b160eea8439cbc6d.zip
Improve helper wording
-rw-r--r--src/librustdoc/html/static/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 462a696dee6..c2c482cd455 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -2797,8 +2797,8 @@ function defocusSearchBar() {
 
         var infos = [
             "Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to \
-             restrict the search to a given type.",
-            "Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \
+             restrict the search to a given item kind.",
+            "Accepted kinds are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \
              <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, \
              and <code>const</code>.",
             "Search functions by type signature (e.g., <code>vec -&gt; usize</code> or \