Skip to content

Commit 3163146

Browse files
authored
Rollup merge of #68166 - ollie27:rustdoc_help_escape, r=GuillaumeGomez
rustdoc: HTML escape arrows on help popup r? @GuillaumeGomez
2 parents e71b673 + 79f59fa commit 3163146

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/librustdoc/html/static/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2663,8 +2663,8 @@ function getSearchElement() {
26632663
"Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, \
26642664
<code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, \
26652665
and <code>const</code>.",
2666-
"Search functions by type signature (e.g., <code>vec -> usize</code> or \
2667-
<code>* -> vec</code>)",
2666+
"Search functions by type signature (e.g., <code>vec -&gt; usize</code> or \
2667+
<code>* -&gt; vec</code>)",
26682668
"Search multiple things at once by splitting your query with comma (e.g., \
26692669
<code>str,u8</code> or <code>String,struct:Vec,test</code>)",
26702670
"You can look for items with an exact name by putting double quotes around \

0 commit comments

Comments
 (0)