File tree 1 file changed +2
-0
lines changed
1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -2897,6 +2897,7 @@ pub trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
2897
2897
/// performing any bounds checking.
2898
2898
/// Calling this method with an out-of-bounds index is *[undefined behavior]*
2899
2899
/// even if the resulting reference is not used.
2900
+ ///
2900
2901
/// [undefined behavior]: ../../reference/behavior-considered-undefined.html
2901
2902
#[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
2902
2903
unsafe fn get_unchecked ( self , slice : & T ) -> & Self :: Output ;
@@ -2905,6 +2906,7 @@ pub trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
2905
2906
/// performing any bounds checking.
2906
2907
/// Calling this method with an out-of-bounds index is *[undefined behavior]*
2907
2908
/// even if the resulting reference is not used.
2909
+ ///
2908
2910
/// [undefined behavior]: ../../reference/behavior-considered-undefined.html
2909
2911
#[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
2910
2912
unsafe fn get_unchecked_mut ( self , slice : & mut T ) -> & mut Self :: Output ;
You can’t perform that action at this time.
0 commit comments