auto merge of #6345 : seanmoon/rust/fix-typos, r=sanxiyn
Hi there, Really enjoying Rust. Noticed a few typos so I searched around for a few more--here's some fixes. Ran `make check` and got `summary of 24 test runs: 4868 passed; 0 failed; 330 ignored`. Thanks! Sean
This commit is contained in:
@@ -52,7 +52,7 @@ pub fn capacity<T>(v: @[T]) -> uint {
|
||||
* # Arguments
|
||||
*
|
||||
* * size - An initial size of the vector to reserve
|
||||
* * builder - A function that will construct the vector. It recieves
|
||||
* * builder - A function that will construct the vector. It receives
|
||||
* as an argument a function that will push an element
|
||||
* onto the vector being constructed.
|
||||
*/
|
||||
@@ -70,7 +70,7 @@ pub fn build_sized<A>(size: uint, builder: &fn(push: &fn(v: A))) -> @[A] {
|
||||
*
|
||||
* # Arguments
|
||||
*
|
||||
* * builder - A function that will construct the vector. It recieves
|
||||
* * builder - A function that will construct the vector. It receives
|
||||
* as an argument a function that will push an element
|
||||
* onto the vector being constructed.
|
||||
*/
|
||||
@@ -87,7 +87,7 @@ pub fn build<A>(builder: &fn(push: &fn(v: A))) -> @[A] {
|
||||
* # Arguments
|
||||
*
|
||||
* * size - An option, maybe containing initial size of the vector to reserve
|
||||
* * builder - A function that will construct the vector. It recieves
|
||||
* * builder - A function that will construct the vector. It receives
|
||||
* as an argument a function that will push an element
|
||||
* onto the vector being constructed.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user