Skip to content

Commit 9fce1a1

Browse files
tsort: remove duplicate sorting step (#7965)
* tsort: remove duplicate sorting step * tsort: remove unnecessary spaces --------- Co-authored-by: Daniel Hofstetter <[email protected]>
1 parent eff2cd9 commit 9fce1a1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/uu/tsort/src/tsort.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,6 @@ impl<'input> Graph<'input> {
161161
}
162162
})
163163
.collect();
164-
independent_nodes_queue.make_contiguous().sort_unstable(); // to make sure the resulting ordering is deterministic we need to order independent nodes
165-
// FIXME: this doesn't comply entirely with the GNU coreutils implementation.
166164

167165
// To make sure the resulting ordering is deterministic we
168166
// need to order independent nodes.

0 commit comments

Comments
 (0)