diff options
| author | Maybe Waffle <waffle.lapkin@gmail.com> | 2024-04-14 15:51:29 +0000 |
|---|---|---|
| committer | Maybe Waffle <waffle.lapkin@gmail.com> | 2024-04-14 15:51:29 +0000 |
| commit | f5144938bd33af48a1b06fc5e11f7f30132be895 (patch) | |
| tree | 36e8b0ff08e22f0dfd141987f253def705a7ed9a /compiler/rustc_data_structures/src/graph/reference.rs | |
| parent | 0d5fc9bf584f0e8700f0c3d2854bb6c70453f624 (diff) | |
| download | rust-f5144938bd33af48a1b06fc5e11f7f30132be895.tar.gz rust-f5144938bd33af48a1b06fc5e11f7f30132be895.zip | |
Rename `WithNumEdges` => `NumEdges` and `WithStartNode` => `StartNode`
Diffstat (limited to 'compiler/rustc_data_structures/src/graph/reference.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/graph/reference.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/graph/reference.rs b/compiler/rustc_data_structures/src/graph/reference.rs index fb4868f0d47..16b019374be 100644 --- a/compiler/rustc_data_structures/src/graph/reference.rs +++ b/compiler/rustc_data_structures/src/graph/reference.rs @@ -8,7 +8,7 @@ impl<'graph, G: DirectedGraph> DirectedGraph for &'graph G { } } -impl<'graph, G: WithStartNode> WithStartNode for &'graph G { +impl<'graph, G: StartNode> StartNode for &'graph G { fn start_node(&self) -> Self::Node { (**self).start_node() } |
