Rollup merge of #73148 - DarkEld3r:patch-1, r=jonas-schievink
Fix a typo (size of the size)
This commit is contained in:
commit
80d60cc25e
1 changed files with 2 additions and 2 deletions
|
@ -409,7 +409,7 @@ impl<T> [T] {
|
||||||
/// The returned range is half-open, which means that the end pointer
|
/// The returned range is half-open, which means that the end pointer
|
||||||
/// points *one past* the last element of the slice. This way, an empty
|
/// points *one past* the last element of the slice. This way, an empty
|
||||||
/// slice is represented by two equal pointers, and the difference between
|
/// slice is represented by two equal pointers, and the difference between
|
||||||
/// the two pointers represents the size of the size.
|
/// the two pointers represents the size of the slice.
|
||||||
///
|
///
|
||||||
/// See [`as_ptr`] for warnings on using these pointers. The end pointer
|
/// See [`as_ptr`] for warnings on using these pointers. The end pointer
|
||||||
/// requires extra caution, as it does not point to a valid element in the
|
/// requires extra caution, as it does not point to a valid element in the
|
||||||
|
@ -464,7 +464,7 @@ impl<T> [T] {
|
||||||
/// The returned range is half-open, which means that the end pointer
|
/// The returned range is half-open, which means that the end pointer
|
||||||
/// points *one past* the last element of the slice. This way, an empty
|
/// points *one past* the last element of the slice. This way, an empty
|
||||||
/// slice is represented by two equal pointers, and the difference between
|
/// slice is represented by two equal pointers, and the difference between
|
||||||
/// the two pointers represents the size of the size.
|
/// the two pointers represents the size of the slice.
|
||||||
///
|
///
|
||||||
/// See [`as_mut_ptr`] for warnings on using these pointers. The end
|
/// See [`as_mut_ptr`] for warnings on using these pointers. The end
|
||||||
/// pointer requires extra caution, as it does not point to a valid element
|
/// pointer requires extra caution, as it does not point to a valid element
|
||||||
|
|
Loading…
Add table
Reference in a new issue