about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/graph/iterate/mod.rs
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2024-04-14 15:51:29 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2024-04-14 15:51:29 +0000
commitf5144938bd33af48a1b06fc5e11f7f30132be895 (patch)
tree36e8b0ff08e22f0dfd141987f253def705a7ed9a /compiler/rustc_data_structures/src/graph/iterate/mod.rs
parent0d5fc9bf584f0e8700f0c3d2854bb6c70453f624 (diff)
downloadrust-f5144938bd33af48a1b06fc5e11f7f30132be895.tar.gz
rust-f5144938bd33af48a1b06fc5e11f7f30132be895.zip
Rename `WithNumEdges` => `NumEdges` and `WithStartNode` => `StartNode`
Diffstat (limited to 'compiler/rustc_data_structures/src/graph/iterate/mod.rs')
-rw-r--r--compiler/rustc_data_structures/src/graph/iterate/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_data_structures/src/graph/iterate/mod.rs b/compiler/rustc_data_structures/src/graph/iterate/mod.rs
index 3ead608cd0b..7a77f2c0dbb 100644
--- a/compiler/rustc_data_structures/src/graph/iterate/mod.rs
+++ b/compiler/rustc_data_structures/src/graph/iterate/mod.rs
@@ -1,4 +1,4 @@
-use super::{DirectedGraph, Successors, WithStartNode};
+use super::{DirectedGraph, StartNode, Successors};
 use rustc_index::bit_set::BitSet;
 use rustc_index::{IndexSlice, IndexVec};
 use std::ops::ControlFlow;
@@ -278,7 +278,7 @@ where
 
 impl<G> TriColorDepthFirstSearch<'_, G>
 where
-    G: ?Sized + DirectedGraph + Successors + WithStartNode,
+    G: ?Sized + DirectedGraph + Successors + StartNode,
 {
     /// Performs a depth-first search, starting from `G::start_node()`.
     ///