Skip to content

Commit 0d974ee

Browse files
committed
fix grammar in Vec.retain's doc comment
1 parent 8a02304 commit 0d974ee

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)