We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f70e3d4 commit e35431aCopy full SHA for e35431a
src/uu/tsort/src/tsort.rs
@@ -42,8 +42,6 @@ enum TsortError {
42
43
impl UError for TsortError {}
44
45
-
46
47
#[uucore::main]
48
pub fn uumain(args: impl uucore::Args) -> UResult<()> {
49
let matches = uucore::clap_localization::handle_clap_result(uu_app(), args)?;
@@ -65,9 +63,9 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
65
63
66
64
// Create the directed graph from pairs of tokens in the input data.
67
let mut g = Graph::new(input.to_string_lossy().to_string());
68
+
69
let mut edgetokens = data.split_whitespace();
70
71
loop {
72
let Some(a) = edgetokens.next() else {
73
break;
0 commit comments