Skip to content

Commit

Permalink
Fix typo in vec_graph
Browse files Browse the repository at this point in the history
  • Loading branch information
bugadani committed Oct 27, 2020
1 parent 99320b9 commit b01c74b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_data_structures/src/graph/vec_graph/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl<N: Idx> VecGraph<N> {

// Create the *edge starts* array. We are iterating over over
// the (sorted) edge pairs. We maintain the invariant that the
// length of the `node_starts` arary is enough to store the
// length of the `node_starts` array is enough to store the
// current source node -- so when we see that the source node
// for an edge is greater than the current length, we grow the
// edge-starts array by just enough.
Expand Down

0 comments on commit b01c74b

Please sign in to comment.