Skip to content

Commit 6460205

Browse files
committed
Remove redundant rustc_data_structures path component
1 parent 42a4673 commit 6460205

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: 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)