more centril nits
This commit is contained in:
parent
d9f4d2ad1a
commit
0dd074e854
4 changed files with 39 additions and 30 deletions
|
|
@ -27,7 +27,7 @@ impl<N: Idx> VecGraph<N> {
|
|||
|
||||
let num_edges = edge_pairs.len();
|
||||
|
||||
// Store the *target* of each edge into `edge_targets`
|
||||
// Store the *target* of each edge into `edge_targets`.
|
||||
let edge_targets: Vec<N> = edge_pairs.iter().map(|&(_, target)| target).collect();
|
||||
|
||||
// Create the *edge starts* array. We are iterating over over
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue