]> git.lizzy.rs Git - rust.git/commitdiff
Bump slice_index_with_ops_bound_pair to 1.53.0
authorMara Bos <m-ou.se@m-ou.se>
Wed, 21 Apr 2021 20:40:19 +0000 (22:40 +0200)
committerGitHub <noreply@github.com>
Wed, 21 Apr 2021 20:40:19 +0000 (22:40 +0200)
library/core/src/slice/index.rs

index 1ef040484c344f82a211ca1a88298ba00777d4a9..f722430354991961f314ba0091a414b2b6d9dbe8 100644 (file)
@@ -81,7 +81,7 @@ impl Sealed for ops::RangeFull {}
     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>) {}
 }
 
@@ -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];