Getting rid of lots more vector +=. (issue #2719)

This commit is contained in:
Eric Holk
2012-06-26 00:39:18 -07:00
parent 007b9d9acd
commit b9d3ad0736
34 changed files with 261 additions and 248 deletions

View File

@@ -218,7 +218,7 @@ impl extensions<A:copy> for dvec<A> {
}
};
for ts.each { |t| v += [t]/~ };
for ts.each { |t| vec::push(v, t) };
v
}
}

View File

@@ -31,7 +31,7 @@ export rsplit;
export rsplitn;
export shift;
export pop;
export push;
export push, push_all;
export grow;
export grow_fn;
export grow_set;