Skip to content

Commit 5b525f6

Browse files
agourlaytimvisee
authored andcommitted
clarify comment
1 parent 6ed1035 commit 5b525f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/common/common/src/toposort.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ mod tests {
247247
topo.add_dependency(2, 1, ());
248248
topo.add_dependency(3, 2, ());
249249
let result: Vec<_> = topo.sort_elements(&elements).collect();
250-
// 4 is missing, so 3 should be treated as having no dependencies
250+
// 4 is missing, so no element is depending on 3
251251
assert_eq!(result, vec![1, 2, 3]);
252252
}
253253
}

0 commit comments

Comments
 (0)