We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 872ab78 commit fa34b39Copy full SHA for fa34b39
library/alloc/src/vec.rs
@@ -2164,8 +2164,8 @@ where
2164
}
2165
2166
2167
-// A helper struct for in-place iteration that drops the destination slice of iteration.
2168
-// 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.
2169
struct InPlaceDrop<T> {
2170
inner: *mut T,
2171
dst: *mut T,
0 commit comments