File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ impl<T> [T] {
409
409
/// The returned range is half-open, which means that the end pointer
410
410
/// points *one past* the last element of the slice. This way, an empty
411
411
/// slice is represented by two equal pointers, and the difference between
412
- /// the two pointers represents the size of the size .
412
+ /// the two pointers represents the size of the slice .
413
413
///
414
414
/// See [`as_ptr`] for warnings on using these pointers. The end pointer
415
415
/// requires extra caution, as it does not point to a valid element in the
@@ -464,7 +464,7 @@ impl<T> [T] {
464
464
/// The returned range is half-open, which means that the end pointer
465
465
/// points *one past* the last element of the slice. This way, an empty
466
466
/// slice is represented by two equal pointers, and the difference between
467
- /// the two pointers represents the size of the size .
467
+ /// the two pointers represents the size of the slice .
468
468
///
469
469
/// See [`as_mut_ptr`] for warnings on using these pointers. The end
470
470
/// pointer requires extra caution, as it does not point to a valid element
You can’t perform that action at this time.
0 commit comments