about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNathan Froyd <froydnj@gmail.com>2014-08-07 11:27:06 -0400
committerNathan Froyd <froydnj@gmail.com>2014-08-07 11:27:06 -0400
commit0d974eecd3d5beefc3b0649dea9fcde7dacd70a3 (patch)
tree83b2572dc7fe6b1cd1e6d5609b00efa9505f957d
parent8a02304a44bc9d1939b847b824006fcde99ec9e6 (diff)
downloadrust-0d974eecd3d5beefc3b0649dea9fcde7dacd70a3.tar.gz
rust-0d974eecd3d5beefc3b0649dea9fcde7dacd70a3.zip
fix grammar in Vec.retain's doc comment
-rw-r--r--src/libcollections/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/vec.rs b/src/libcollections/vec.rs
index 6618906cf69..39fe57038b0 100644
--- a/src/libcollections/vec.rs
+++ b/src/libcollections/vec.rs
@@ -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
     ///