File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,12 +172,12 @@ pub fn with_capacity<T>(capacity: uint) -> ~[T] {
172
172
/**
173
173
* Builds a vector by calling a provided function with an argument
174
174
* function that pushes an element to the back of a vector.
175
- * This version takes an initial size for the vector.
175
+ * This version takes an initial capacity for the vector.
176
176
*
177
177
* # Arguments
178
178
*
179
179
* * size - An initial size of the vector to reserve
180
- * * builder - A function that will construct the vector. It recieves
180
+ * * builder - A function that will construct the vector. It receives
181
181
* as an argument a function that will push an element
182
182
* onto the vector being constructed.
183
183
*/
@@ -194,7 +194,7 @@ pub fn build_sized<A>(size: uint, builder: &fn(push: &fn(v: A))) -> ~[A] {
194
194
*
195
195
* # Arguments
196
196
*
197
- * * builder - A function that will construct the vector. It recieves
197
+ * * builder - A function that will construct the vector. It receives
198
198
* as an argument a function that will push an element
199
199
* onto the vector being constructed.
200
200
*/
You can’t perform that action at this time.
0 commit comments