about summary refs log tree commit diff
path: root/src/librustc_data_structures/graph/implementation
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-07-22 19:23:39 +0300
committerNiko Matsakis <niko@alum.mit.edu>2018-07-25 06:38:19 +0300
commit145155dc96757002c7b2e9de8489416e2fdbbd57 (patch)
tree1f17f8184ace880aad66fb6d9d4562a1a48fe652 /src/librustc_data_structures/graph/implementation
parenta54401ebccc5497497b669a1c48fabdf7351d7b2 (diff)
downloadrust-145155dc96757002c7b2e9de8489416e2fdbbd57.tar.gz
rust-145155dc96757002c7b2e9de8489416e2fdbbd57.zip
parameterize `BitVector` and `BitMatrix` by their index types
Diffstat (limited to 'src/librustc_data_structures/graph/implementation')
-rw-r--r--src/librustc_data_structures/graph/implementation/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_data_structures/graph/implementation/mod.rs b/src/librustc_data_structures/graph/implementation/mod.rs
index e2b393071ff..dbfc09116bb 100644
--- a/src/librustc_data_structures/graph/implementation/mod.rs
+++ b/src/librustc_data_structures/graph/implementation/mod.rs
@@ -348,7 +348,7 @@ where
 {
     graph: &'g Graph<N, E>,
     stack: Vec<NodeIndex>,
-    visited: BitVector,
+    visited: BitVector<usize>,
     direction: Direction,
 }