Skip to content

Commit c55e1e6

Browse files
committed
[librustdoc] Disable spellcheck for search field
1 parent 1dceadd commit c55e1e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustdoc/html/layout.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ pub fn render<T: fmt::Display, S: fmt::Display>(
8383
<div class=\"search-container\">\
8484
<input class=\"search-input\" name=\"search\" \
8585
autocomplete=\"off\" \
86+
spellcheck=\"false\" \
8687
placeholder=\"Click or press ‘S’ to search, ‘?’ for more options…\" \
8788
type=\"search\">\
8889
<a id=\"settings-menu\" href=\"{root_path}settings.html\">\

0 commit comments

Comments
 (0)