2 ms·
Rust's std::slice has a `get` method that does exactly that: http://doc.rust-lang.org/std/primitive.slice.html#method.get http://doc.rust-lang.org/std/primitive
by killercup 11y ago
Rust's std::slice has a `get` method that does exactly that: http://doc.rust-lang.org/std/primitive.slice.html#method.get http://doc.rust-lang.org/std/primitive.slice.html#method.get