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 @@ -2817,6 +2817,7 @@ pub trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
2817
2817
/// performing any bounds checking.
2818
2818
/// Calling this method with an out-of-bounds index is *[undefined behavior]*
2819
2819
/// even if the resulting reference is not used.
2820
+ ///
2820
2821
/// [undefined behavior]: ../../reference/behavior-considered-undefined.html
2821
2822
#[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
2822
2823
unsafe fn get_unchecked ( self , slice : & T ) -> & Self :: Output ;
@@ -2825,6 +2826,7 @@ pub trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
2825
2826
/// performing any bounds checking.
2826
2827
/// Calling this method with an out-of-bounds index is *[undefined behavior]*
2827
2828
/// even if the resulting reference is not used.
2829
+ ///
2828
2830
/// [undefined behavior]: ../../reference/behavior-considered-undefined.html
2829
2831
#[ unstable( feature = "slice_index_methods" , issue = "none" ) ]
2830
2832
unsafe fn get_unchecked_mut ( self , slice : & mut T ) -> & mut Self :: Output ;
You can’t perform that action at this time.
0 commit comments