1
Fork 0

Fix misspellings in comments.

This commit is contained in:
Joseph Crail 2014-04-21 00:49:39 -04:00
parent 30348f4675
commit 809f13ea94
33 changed files with 53 additions and 53 deletions

View file

@ -135,7 +135,7 @@ impl<T> Vec<T> {
Vec { len: length, cap: capacity, ptr: ptr }
}
/// Consumes the `Vec`, partitioning it based on a predcate.
/// Consumes the `Vec`, partitioning it based on a predicate.
///
/// Partitions the `Vec` into two `Vec`s `(A,B)`, where all elements of `A`
/// satisfy `f` and all elements of `B` do not. The order of elements is
@ -279,7 +279,7 @@ impl<T: Clone> Vec<T> {
*self.get_mut(index) = value;
}
/// Partitions a vector based on a predcate.
/// Partitions a vector based on a predicate.
///
/// Clones the elements of the vector, partitioning them into two `Vec`s
/// `(A,B)`, where all elements of `A` satisfy `f` and all elements of `B`