diff options
| -rw-r--r-- | src/libcollections/vec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs index 4b05f8062e8..c5b904c8a2f 100644 --- a/src/libcollections/vec.rs +++ b/src/libcollections/vec.rs @@ -1023,8 +1023,8 @@ impl<T> Vec<T> { /// Create a draining iterator that removes the specified range in the vector /// and yields the removed items. /// - /// Note 1: The element range is removed even if the iterator is not - /// consumed until the end. + /// Note 1: The element range is removed even if the iterator is only + /// partially consumed or not consumed at all. /// /// Note 2: It is unspecified how many elements are removed from the vector, /// if the `Drain` value is leaked. |
