more centril nits

This commit is contained in:
Niko Matsakis 2019-06-24 15:34:37 -04:00
parent d9f4d2ad1a
commit 0dd074e854
4 changed files with 39 additions and 30 deletions

View file

@ -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