File tree 1 file changed +4
-4
lines changed
compiler/rustc_mir/src/util
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ use std::io::{self, Write};
6
6
pub struct GraphvizWriter <
7
7
' a ,
8
8
G : graph:: DirectedGraph + graph:: WithSuccessors + graph:: WithStartNode + graph:: WithNumNodes ,
9
- NodeContentFn : Fn ( <G as rustc_data_structures :: graph:: DirectedGraph >:: Node ) -> Vec < String > ,
10
- EdgeLabelsFn : Fn ( <G as rustc_data_structures :: graph:: DirectedGraph >:: Node ) -> Vec < String > ,
9
+ NodeContentFn : Fn ( <G as graph:: DirectedGraph >:: Node ) -> Vec < String > ,
10
+ EdgeLabelsFn : Fn ( <G as graph:: DirectedGraph >:: Node ) -> Vec < String > ,
11
11
> {
12
12
graph : & ' a G ,
13
13
is_subgraph : bool ,
@@ -20,8 +20,8 @@ pub struct GraphvizWriter<
20
20
impl <
21
21
' a ,
22
22
G : graph:: DirectedGraph + graph:: WithSuccessors + graph:: WithStartNode + graph:: WithNumNodes ,
23
- NodeContentFn : Fn ( <G as rustc_data_structures :: graph:: DirectedGraph >:: Node ) -> Vec < String > ,
24
- EdgeLabelsFn : Fn ( <G as rustc_data_structures :: graph:: DirectedGraph >:: Node ) -> Vec < String > ,
23
+ NodeContentFn : Fn ( <G as graph:: DirectedGraph >:: Node ) -> Vec < String > ,
24
+ EdgeLabelsFn : Fn ( <G as graph:: DirectedGraph >:: Node ) -> Vec < String > ,
25
25
> GraphvizWriter < ' a , G , NodeContentFn , EdgeLabelsFn >
26
26
{
27
27
pub fn new (
You can’t perform that action at this time.
0 commit comments