We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b9ac51 commit e4f2de2Copy full SHA for e4f2de2
library/alloc/src/vec.rs
@@ -2269,7 +2269,7 @@ impl<T> Vec<T> {
2269
/// with the given `replace_with` iterator and yields the removed items.
2270
/// `replace_with` does not need to be the same length as `range`.
2271
///
2272
- /// The element range is removed even if the iterator is not consumed until the end.
+ /// `range` is removed even if the iterator is not consumed until the end.
2273
2274
/// It is unspecified how many elements are removed from the vector
2275
/// if the `Splice` value is leaked.
0 commit comments