Skip to content

Conversation

jagprog5
Copy link

// new (now allowed)
let mut my_nodes = HashSet::<NodeIndex<DefaultIx>>::default();
my_nodes.insert(a);
dag.transitive_reduce(my_nodes.iter().map(|e| *e));

// old (still works)
// dag.transitive_reduce(vec![a]);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant