mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 06:43:20 +03:00
02deabb779
Consolidate panicking functions in `slice/index.rs` 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`. Split off from https://github.com/rust-lang/rust/pull/145024