Remove vecs from std::sort
This commit is contained in:
parent
abf41e15ea
commit
7625ed52ee
11 changed files with 57 additions and 225 deletions
|
|
@ -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]; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue