Skip to content

Commit

Permalink
Bump slice_index_with_ops_bound_pair to 1.53.0
Browse files Browse the repository at this point in the history
  • Loading branch information
m-ou-se committed Apr 21, 2021
1 parent 7efba4f commit 6763a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/slice/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ mod private_slice_index {
impl Sealed for ops::RangeInclusive<usize> {}
#[stable(feature = "slice_get_slice", since = "1.28.0")]
impl Sealed for ops::RangeToInclusive<usize> {}
#[stable(feature = "slice_index_with_ops_bound_pair", since = "1.51.0")]
#[stable(feature = "slice_index_with_ops_bound_pair", since = "1.53.0")]
impl Sealed for (ops::Bound<usize>, ops::Bound<usize>) {}
}

Expand Down Expand Up @@ -622,7 +622,7 @@ fn into_slice_range(
start..end
}

#[stable(feature = "slice_index_with_ops_bound_pair", since = "1.51.0")]
#[stable(feature = "slice_index_with_ops_bound_pair", since = "1.53.0")]
unsafe impl<T> SliceIndex<[T]> for (ops::Bound<usize>, ops::Bound<usize>) {
type Output = [T];

Expand Down

0 comments on commit 6763a40

Please sign in to comment.