Remove vecs from std::sort

This commit is contained in:
Brian Anderson 2011-08-11 22:48:08 -07:00
parent abf41e15ea
commit 7625ed52ee
11 changed files with 57 additions and 225 deletions

View file

@ -155,7 +155,7 @@ fn sort_meta_items(items: &[@ast::meta_item]) -> [@ast::meta_item] {
let v: [mutable @ast::meta_item] = ~[mutable];
for mi: @ast::meta_item in items { v += ~[mutable mi]; }
std::sort::ivector::quick_sort(lteq, v);
std::sort::quick_sort(lteq, v);
let v2: [@ast::meta_item] = ~[];
for mi: @ast::meta_item in v { v2 += ~[mi]; }