mozilla/rust — pull request #13917 by seanmonstar (2014-05-03 15:30:34+00:00)
Title: std: slice.get(i) shouldn't do bounds check twice

The `get` function already checks that `i` is within bounds, so skip the
second one and use `unsafe_ref`.