mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
ccf171242b
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*`.