Skip to content

Commit 3a3ffab

Browse files
committed
auto merge of #10759 : SiegeLord/rust/placeholder, r=cmr
This makes the search bar more visible.
2 parents 0e66baf + e73d506 commit 3a3ffab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustdoc/html/layout.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ pub fn render<T: fmt::Default, S: fmt::Default>(
5959
<nav class=\"sub\">
6060
<form class=\"search-form js-only\">
6161
<input class=\"search-input\" name=\"search\"
62-
autocomplete=\"off\" />
62+
autocomplete=\"off\"
63+
placeholder=\"Search documentation...\"
64+
type=\"search\" />
6365
<button class=\"do-search\">Search</button>
6466
</form>
6567
</nav>

0 commit comments

Comments
 (0)