Skip to content

Commit 53b5c6b

Browse files
authored
Rollup merge of #82212 - est31:graph_graph_graph, r=oli-obk
Remove redundant rustc_data_structures path component
2 parents 9e60e7e + 6460205 commit 53b5c6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

compiler/rustc_mir/src/util/generic_graphviz.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ use std::io::{self, Write};
66
pub struct GraphvizWriter<
77
'a,
88
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>,
1111
> {
1212
graph: &'a G,
1313
is_subgraph: bool,
@@ -20,8 +20,8 @@ pub struct GraphvizWriter<
2020
impl<
2121
'a,
2222
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>,
2525
> GraphvizWriter<'a, G, NodeContentFn, EdgeLabelsFn>
2626
{
2727
pub fn new(

0 commit comments

Comments
 (0)