Skip to content

Commit 3b1f983

Browse files
committed
auto merge of #16325 : froydnj/rust/vec-grammar-fix, r=alexcrichton
Just a small typo noticed while reading through documentation.
2 parents 1272a83 + 0d974ee commit 3b1f983

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcollections/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,7 +1318,7 @@ impl<T> Vec<T> {
13181318
/// Retains only the elements specified by the predicate.
13191319
///
13201320
/// In other words, remove all elements `e` such that `f(&e)` returns false.
1321-
/// This method operates in place and preserves the order the retained elements.
1321+
/// This method operates in place and preserves the order of the retained elements.
13221322
///
13231323
/// # Example
13241324
///

0 commit comments

Comments
 (0)