diff options
| author | The8472 <git@infinite-source.de> | 2020-01-26 20:52:59 +0100 |
|---|---|---|
| committer | The8472 <git@infinite-source.de> | 2020-09-03 20:59:30 +0200 |
| commit | fa34b39cd6c2fc05f29d8c20518ef45b5317b9b3 (patch) | |
| tree | 07ca11d50e491fc89ab975c3997b31f5965450b8 | |
| parent | 872ab780c000026441532ced4873bab0c29971df (diff) | |
| download | rust-fa34b39cd6c2fc05f29d8c20518ef45b5317b9b3.tar.gz rust-fa34b39cd6c2fc05f29d8c20518ef45b5317b9b3.zip | |
increase comment verbosity
| -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, |
