mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-29 03:57:44 +00:00
tsort: remove duplicate sorting step (#7965)
* tsort: remove duplicate sorting step * tsort: remove unnecessary spaces --------- Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
This commit is contained in:
parent
eff2cd997e
commit
9fce1a1529
1 changed files with 0 additions and 2 deletions
|
@ -161,8 +161,6 @@ impl<'input> Graph<'input> {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
independent_nodes_queue.make_contiguous().sort_unstable(); // to make sure the resulting ordering is deterministic we need to order independent nodes
|
|
||||||
// FIXME: this doesn't comply entirely with the GNU coreutils implementation.
|
|
||||||
|
|
||||||
// To make sure the resulting ordering is deterministic we
|
// To make sure the resulting ordering is deterministic we
|
||||||
// need to order independent nodes.
|
// need to order independent nodes.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue