Skip to content

Commit 12030f8

Browse files
committed
code format
1 parent 5d2752b commit 12030f8

1 file changed

Lines changed: 13 additions & 7 deletions

File tree

  • compiler/rustc_data_structures/src/graph/linked_graph

compiler/rustc_data_structures/src/graph/linked_graph/tests.rs

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use rustc_index::Idx;
22
use tracing::debug;
33

4-
use super::{Debug, LinkedGraph, FrozenLinkedGraph};
4+
use super::{Debug, FrozenLinkedGraph, LinkedGraph};
55

66
type TestGraph = FrozenLinkedGraph<usize, &'static str, &'static str>;
77

@@ -18,12 +18,18 @@ fn create_graph() -> TestGraph {
1818
// v |
1919
// D --> E
2020

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");
21+
let a = 0;
22+
graph.add_node(a, "A");
23+
let b = 1;
24+
graph.add_node(b, "B");
25+
let c = 2;
26+
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");
2733

2834
graph.add_edge(a, b, "AB");
2935
graph.add_edge(b, c, "BC");

0 commit comments

Comments
 (0)