Demode sort.rs
This commit is contained in:
parent
b06599a7a8
commit
134e5c85a2
2 changed files with 16 additions and 12 deletions
|
|
@ -1499,7 +1499,8 @@ fn print_pkg(s: source, p: package) {
|
|||
fn print_source(s: source) {
|
||||
info(s.name + ~" (" + s.url + ~")");
|
||||
|
||||
let pks = sort::merge_sort(sys::shape_lt, copy s.packages);
|
||||
let unsorted_pks = s.packages; // to prevent illegal borrow?
|
||||
let pks = sort::merge_sort(sys::shape_lt, unsorted_pks);
|
||||
let l = vec::len(pks);
|
||||
|
||||
print(io::with_str_writer(|writer| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue