From a3aa325c9344c2c66e8fe0c58f15b4ddd25bf4b8 Mon Sep 17 00:00:00 2001 From: SiegeLord Date: Sun, 1 Dec 2013 20:42:38 -0500 Subject: [PATCH 1/2] Add placeholder text to the search bar in the documentation. --- src/librustdoc/html/layout.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index e4081df5c3c..da7bdb97124 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -59,7 +59,8 @@ pub fn render( From e73d50653f300d1b147b8850f7f605869f638a51 Mon Sep 17 00:00:00 2001 From: SiegeLord Date: Sun, 1 Dec 2013 21:36:59 -0500 Subject: [PATCH 2/2] Add a type="search" to the search bar in the documentation. --- src/librustdoc/html/layout.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/librustdoc/html/layout.rs b/src/librustdoc/html/layout.rs index da7bdb97124..bfa6651fe0a 100644 --- a/src/librustdoc/html/layout.rs +++ b/src/librustdoc/html/layout.rs @@ -60,7 +60,8 @@ pub fn render(
+ placeholder=\"Search documentation...\" + type=\"search\" />