We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2752b commit 12030f8Copy full SHA for 12030f8
1 file changed
compiler/rustc_data_structures/src/graph/linked_graph/tests.rs
@@ -1,7 +1,7 @@
1
use rustc_index::Idx;
2
use tracing::debug;
3
4
-use super::{Debug, LinkedGraph, FrozenLinkedGraph};
+use super::{Debug, FrozenLinkedGraph, LinkedGraph};
5
6
type TestGraph = FrozenLinkedGraph<usize, &'static str, &'static str>;
7
@@ -18,12 +18,18 @@ fn create_graph() -> TestGraph {
18
// v |
19
// D --> E
20
21
- let a = 0; graph.add_node(a, "A");
22
- let b = 1; graph.add_node(b, "B");
23
- let c = 2; graph.add_node(c, "C");
24
- let d = 3; graph.add_node(d, "D");
25
- let e = 4; graph.add_node(e, "E");
26
- let f = 5; graph.add_node(f, "F");
+ let a = 0;
+ graph.add_node(a, "A");
+ let b = 1;
+ graph.add_node(b, "B");
+ let c = 2;
+ graph.add_node(c, "C");
27
+ let d = 3;
28
+ graph.add_node(d, "D");
29
+ let e = 4;
30
+ graph.add_node(e, "E");
31
+ let f = 5;
32
+ graph.add_node(f, "F");
33
34
graph.add_edge(a, b, "AB");
35
graph.add_edge(b, c, "BC");
0 commit comments