% Not Found

Looks like you've taken a wrong turn.

Some things that might be helpful to you though:

# Search

* 

* Rust doc search: 

# Reference

* [The Rust official site](https://www.rust-lang.org)
* [The Rust reference](https://doc.rust-lang.org/reference.html)

# Docs

* [The standard library](https://doc.rust-lang.org/std/)

function get_url_fragments() {
    var last = document.URL.split("/").pop();
    var tokens = last.split(".");
    var op = [];
    for (var i=0; i < tokens.length; i++) {
        var t = tokens[i];
        if (t == 'html' || t.indexOf("#") != -1) {
            // no html or anchors
        } else {
            op.push(t);
        }
    }
    return op;
}

function populate_site_search() {
    var op = get_url_fragments();

    var search = document.getElementById('site-search');
    search.value = op.join(' ') + " site:doc.rust-lang.org";
}

function populate_rust_search() {
    var op = get_url_fragments();
    var lt = op.pop();

    // #18540, use a single token

    var a = document.createElement("a");
    a.href = "https://doc.rust-lang.org/core/?search=" + encodeURIComponent(lt);
    a.textContent = lt;
    var search = document.getElementById('core-search');
    search.innerHTML = "";
    search.appendChild(a);
}
populate_site_search();
populate_rust_search();

