mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 11:51:31 +03:00
377a0c88a9
Consolidate all the panicking functions in `slice/index.rs` to use a single `slice_index_fail` function, similar to how it is done in `str/traits.rs`.