diff options
| -rw-r--r-- | library/alloc/src/vec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index fa68fc1e2b4..5159ddc99b1 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -2164,8 +2164,8 @@ where } } -// A helper struct for in-place iteration that drops the destination slice of iteration. -// The source slice is dropped by IntoIter +// A helper struct for in-place iteration that drops the destination slice of iteration, +// i.e. the head. The source slice (the tail) is dropped by IntoIter. struct InPlaceDrop<T> { inner: *mut T, dst: *mut T, |
