diff --git a/src/librustdoc/html/static/main.js b/src/librustdoc/html/static/main.js
index 8ccb74d6f15d3..809d38a7ead8f 100644
--- a/src/librustdoc/html/static/main.js
+++ b/src/librustdoc/html/static/main.js
@@ -2663,8 +2663,8 @@ function getSearchElement() {
"Accepted types are: fn
, mod
, struct
, \
enum
, trait
, type
, macro
, \
and const
.",
- "Search functions by type signature (e.g., vec -> usize
or \
- * -> vec
)",
+ "Search functions by type signature (e.g., vec -> usize
or \
+ * -> vec
)",
"Search multiple things at once by splitting your query with comma (e.g., \
str,u8
or String,struct:Vec,test
)",
"You can look for items with an exact name by putting double quotes around \