about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Middleton <olliemail27@gmail.com>2020-01-12 23:37:47 +0000
committerOliver Middleton <olliemail27@gmail.com>2020-01-12 23:37:47 +0000
commit79f59fa82093a9706470038ef5d87e348686dad5 (patch)
tree4c68508ced958072014f6a1a3bf0501454824724
parent1389494ac145a84dba025ff65969f7ab150c3f02 (diff)
downloadrust-79f59fa82093a9706470038ef5d87e348686dad5.tar.gz
rust-79f59fa82093a9706470038ef5d87e348686dad5.zip
rustdoc: HTML escape arrows on help popup
-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 8ccb74d6f15..809d38a7ead 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -2663,8 +2663,8 @@ function getSearchElement() {
             "Accepted types 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 -> usize</code> or \
-             <code>* -> vec</code>)",
+            "Search functions by type signature (e.g., <code>vec -&gt; usize</code> or \
+             <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 \