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 @@ -409,7 +409,7 @@ impl<T> [T] {
409409 /// The returned range is half-open, which means that the end pointer
410410 /// points *one past* the last element of the slice. This way, an empty
411411 /// 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 .
413413 ///
414414 /// See [`as_ptr`] for warnings on using these pointers. The end pointer
415415 /// requires extra caution, as it does not point to a valid element in the
@@ -464,7 +464,7 @@ impl<T> [T] {
464464 /// The returned range is half-open, which means that the end pointer
465465 /// points *one past* the last element of the slice. This way, an empty
466466 /// 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 .
468468 ///
469469 /// See [`as_mut_ptr`] for warnings on using these pointers. The end
470470 /// 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