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] {
172172/**
173173 * Builds a vector by calling a provided function with an argument
174174 * 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.
176176 *
177177 * # Arguments
178178 *
179179 * * 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
181181 * as an argument a function that will push an element
182182 * onto the vector being constructed.
183183 */
@@ -194,7 +194,7 @@ pub fn build_sized<A>(size: uint, builder: &fn(push: &fn(v: A))) -> ~[A] {
194194 *
195195 * # Arguments
196196 *
197- * * builder - A function that will construct the vector. It recieves
197+ * * builder - A function that will construct the vector. It receives
198198 * as an argument a function that will push an element
199199 * onto the vector being constructed.
200200 */
You can’t perform that action at this time.
0 commit comments