about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/graph/vec_graph
diff options
context:
space:
mode:
authorDániel Buga <bugadani@gmail.com>2020-10-27 18:37:43 +0100
committerDániel Buga <bugadani@gmail.com>2020-10-27 18:37:43 +0100
commitb01c74b73ce13a3b71985926267d909e1fd40818 (patch)
treed5115a47263f543984a18fab7f91b92dc1cfc14b /compiler/rustc_data_structures/src/graph/vec_graph
parent99320b9404c9d5eb361ea008bad43ed8577f05cf (diff)
downloadrust-b01c74b73ce13a3b71985926267d909e1fd40818.tar.gz
rust-b01c74b73ce13a3b71985926267d909e1fd40818.zip
Fix typo in vec_graph
Diffstat (limited to 'compiler/rustc_data_structures/src/graph/vec_graph')
-rw-r--r--compiler/rustc_data_structures/src/graph/vec_graph/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/graph/vec_graph/mod.rs b/compiler/rustc_data_structures/src/graph/vec_graph/mod.rs
index 064467174ca..4ed88878418 100644
--- a/compiler/rustc_data_structures/src/graph/vec_graph/mod.rs
+++ b/compiler/rustc_data_structures/src/graph/vec_graph/mod.rs
@@ -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.