File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1149,14 +1149,14 @@ impl<T> MaybeUninit<T> {
11491149 unsafe { & mut * self . value as * mut T }
11501150 }
11511151
1152- /// Get a pointer to the first contained values .
1152+ /// Get a pointer to the first element of the array .
11531153 #[ unstable( feature = "maybe_uninit" , issue = "53491" ) ]
11541154 #[ inline( always) ]
11551155 pub fn first_ptr ( this : & [ MaybeUninit < T > ] ) -> * const T {
11561156 this as * const [ MaybeUninit < T > ] as * const T
11571157 }
11581158
1159- /// Get a mutable pointer to the first contained values .
1159+ /// Get a mutable pointer to the first element of the array .
11601160 #[ unstable( feature = "maybe_uninit" , issue = "53491" ) ]
11611161 #[ inline( always) ]
11621162 pub fn first_mut_ptr ( this : & mut [ MaybeUninit < T > ] ) -> * mut T {
You can’t perform that action at this time.
0 commit comments