File tree 1 file changed +4
-4
lines changed
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 {
137
137
}
138
138
139
139
/**
140
- * Creates and initializes an immutable vector.
140
+ * Creates and initializes an owned vector.
141
141
*
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
143
143
* to the value returned by the function `op`.
144
144
*/
145
145
pub 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] {
159
159
}
160
160
161
161
/**
162
- * Creates and initializes an immutable vector.
162
+ * Creates and initializes an owned vector.
163
163
*
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
165
165
* to the value `t`.
166
166
*/
167
167
pub fn from_elem < T : Copy > ( n_elts : uint , t : T ) -> ~[ T ] {
You can’t perform that action at this time.
0 commit comments