mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 10:15:31 +00:00
Implement indexing slices with pairs of core::ops::Bound<usize> Closes #49976. I am not sure about code duplication between `check_range` and `into_maybe_range`. Should be former implemented in terms of the latter? Also this PR doesn't address code duplication between `impl SliceIndex for Range*`.