]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #68166 - ollie27:rustdoc_help_escape, r=GuillaumeGomez
authorYuki Okushi <huyuumi.dev@gmail.com>
Tue, 14 Jan 2020 05:02:26 +0000 (14:02 +0900)
committerGitHub <noreply@github.com>
Tue, 14 Jan 2020 05:02:26 +0000 (14:02 +0900)
rustdoc: HTML escape arrows on help popup

r? @GuillaumeGomez

src/librustdoc/html/static/main.js

index 8ccb74d6f15d3b7c025e8d0c8c8b3cf57f380d17..809d38a7ead8fa9749c953b5706db8f249bc2d99 100644 (file)
@@ -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 \