about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNoah Lev <camelidcamel@gmail.com>2022-08-02 13:59:18 -0700
committerNoah Lev <camelidcamel@gmail.com>2022-08-02 13:59:18 -0700
commit234bfc04b0cedc115395ccdce7e84bfadccc1bf7 (patch)
tree6c5ee8ca425e6897ad006c7a75a0ed9eaf89347f
parentfe3342816a282949f014caa05ea2e669ff9d3d3c (diff)
downloadrust-234bfc04b0cedc115395ccdce7e84bfadccc1bf7.tar.gz
rust-234bfc04b0cedc115395ccdce7e84bfadccc1bf7.zip
Replace `* -> vec` with `-> vec` in docs
Rustdoc's current syntax is `-> vec`.
-rw-r--r--src/librustdoc/html/static/js/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/static/js/main.js b/src/librustdoc/html/static/js/main.js
index 2aef978a072..0702b2b0b7c 100644
--- a/src/librustdoc/html/static/js/main.js
+++ b/src/librustdoc/html/static/js/main.js
@@ -816,7 +816,7 @@ function loadCss(cssFileName) {
              <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 \
-             <code>* -&gt; vec</code>)",
+             <code>-&gt; vec</code>)",
             "Search multiple things at once by splitting your query with comma (e.g., \
              <code>str,u8</code> or <code>String,struct:Vec,test</code>)",
             "You can look for items with an exact name by putting double quotes around \