Skip to content

Commit cc20a15

Browse files
anastygnomecakebaker
authored andcommitted
tsort: remove duplicate sorting step (uutils#7965)
* tsort: remove duplicate sorting step * tsort: remove unnecessary spaces --------- Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
1 parent 731480a commit cc20a15

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)