Skip to content

Commit 23af6bb

Browse files
committed
dro -> duckduckgo
dro means "doc.rust-lang.org", but it is too cryptic.
1 parent ecb5142 commit 23af6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/doc/not_found.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Some things that might be helpful to you though:
4545
-->
4646
<fieldset id="search-from" style="display:none">
4747
<label><input name="from" value="library" type="radio"> From the Standard Library</label>
48-
<label><input name="from" value="dro" type="radio" checked> From DuckDuckGo</label>
48+
<label><input name="from" value="duckduckgo" type="radio" checked> From DuckDuckGo</label>
4949
</fieldset>
5050
</form>
5151
</div>
@@ -81,7 +81,7 @@ function on_submit(event) {
8181

8282
event.preventDefault();
8383

84-
if (form['from'].value === 'dro') {
84+
if (form['from'].value === 'duckduckgo') {
8585
document.location.href = form.action + '?q=' + encodeURIComponent(q + ' site:doc.rust-lang.org');
8686
} else if (form['from'].value === 'library') {
8787
document.location.href = 'std/index.html?search=' + encodeURIComponent(q);

0 commit comments

Comments
 (0)