X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fdoc%2Fnot_found.md;h=f0794fc0be37873976e3b4d8a973226b82084464;hb=1b442befcadc21fb5c7ae02d1a7c6d87582cac96;hp=d26fcfc0168d7676138a74ac2ef336b115268b30;hpb=521fdcbe4ddaa717be2acbeb30f8978d6378fea1;p=rust.git diff --git a/src/doc/not_found.md b/src/doc/not_found.md index d26fcfc0168..f0794fc0be3 100644 --- a/src/doc/not_found.md +++ b/src/doc/not_found.md @@ -84,7 +84,7 @@ function on_submit(event) { if (form['from'].value === 'duckduckgo') { document.location.href = form.action + '?q=' + encodeURIComponent(q + ' site:doc.rust-lang.org'); } else if (form['from'].value === 'library') { - document.location.href = 'std/index.html?search=' + encodeURIComponent(q); + document.location.href = '/std/index.html?search=' + encodeURIComponent(q); } }