fix grammar in Vec.retain's doc comment

This commit is contained in:
Nathan Froyd 2014-08-07 11:27:06 -04:00
parent 8a02304a44
commit 0d974eecd3

View File

@ -1318,7 +1318,7 @@ impl<T> Vec<T> {
/// Retains only the elements specified by the predicate.
///
/// In other words, remove all elements `e` such that `f(&e)` returns false.
/// This method operates in place and preserves the order the retained elements.
/// This method operates in place and preserves the order of the retained elements.
///
/// # Example
///