We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aedebfe commit 3d85f73Copy full SHA for 3d85f73
src/libcollections/vec.rs
@@ -1023,8 +1023,8 @@ impl<T> Vec<T> {
1023
/// Create a draining iterator that removes the specified range in the vector
1024
/// and yields the removed items.
1025
///
1026
- /// Note 1: The element range is removed even if the iterator is not
1027
- /// consumed until the end.
+ /// Note 1: The element range is removed even if the iterator is only
+ /// partially consumed or not consumed at all.
1028
1029
/// Note 2: It is unspecified how many elements are removed from the vector,
1030
/// if the `Drain` value is leaked.
0 commit comments