File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ pub fn uniq_len<T>(v: &const ~[T]) -> uint {
137137}
138138
139139/**
140- * Creates and initializes an immutable vector.
140+ * Creates and initializes an owned vector.
141141 *
142- * Creates an immutable vector of size `n_elts` and initializes the elements
142+ * Creates an owned vector of size `n_elts` and initializes the elements
143143 * to the value returned by the function `op`.
144144 */
145145pub fn from_fn< T > ( n_elts : uint , op : old_iter:: InitOp < T > ) -> ~[ T ] {
@@ -159,9 +159,9 @@ pub fn from_fn<T>(n_elts: uint, op: old_iter::InitOp<T>) -> ~[T] {
159159}
160160
161161/**
162- * Creates and initializes an immutable vector.
162+ * Creates and initializes an owned vector.
163163 *
164- * Creates an immutable vector of size `n_elts` and initializes the elements
164+ * Creates an owned vector of size `n_elts` and initializes the elements
165165 * to the value `t`.
166166 */
167167pub fn from_elem < T : Copy > ( n_elts : uint , t : T ) -> ~[ T ] {
You can’t perform that action at this time.
0 commit comments