File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 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 {
28972897 /// performing any bounds checking.
28982898 /// Calling this method with an out-of-bounds index is *[undefined behavior]*
28992899 /// even if the resulting reference is not used.
2900+ ///
29002901 /// [undefined behavior]: ../../reference/behavior-considered-undefined.html
29012902 #[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
29022903 unsafe fn get_unchecked ( self , slice : & T ) -> & Self :: Output ;
@@ -2905,6 +2906,7 @@ pub trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
29052906 /// performing any bounds checking.
29062907 /// Calling this method with an out-of-bounds index is *[undefined behavior]*
29072908 /// even if the resulting reference is not used.
2909+ ///
29082910 /// [undefined behavior]: ../../reference/behavior-considered-undefined.html
29092911 #[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
29102912 unsafe fn get_unchecked_mut ( self , slice : & mut T ) -> & mut Self :: Output ;
You can’t perform that action at this time.
0 commit comments