X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Fdoc%2Fnot_found.md;h=f0794fc0be37873976e3b4d8a973226b82084464;hb=1ca8d0bf8c154b0f602fadac8c38f14df5dea77a;hp=d26fcfc0168d7676138a74ac2ef336b115268b30;hpb=279f486960edc43246ea413970f587a82365cca7;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); } }