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> {
1149
1149
unsafe { & mut * self . value as * mut T }
1150
1150
}
1151
1151
1152
- /// Get a pointer to the first contained values .
1152
+ /// Get a pointer to the first element of the array .
1153
1153
#[ unstable( feature = "maybe_uninit" , issue = "53491" ) ]
1154
1154
#[ inline( always) ]
1155
1155
pub fn first_ptr ( this : & [ MaybeUninit < T > ] ) -> * const T {
1156
1156
this as * const [ MaybeUninit < T > ] as * const T
1157
1157
}
1158
1158
1159
- /// Get a mutable pointer to the first contained values .
1159
+ /// Get a mutable pointer to the first element of the array .
1160
1160
#[ unstable( feature = "maybe_uninit" , issue = "53491" ) ]
1161
1161
#[ inline( always) ]
1162
1162
pub fn first_mut_ptr ( this : & mut [ MaybeUninit < T > ] ) -> * mut T {
You can’t perform that action at this time.
0 commit comments