about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2023-11-30 11:02:40 +0100
committerRalf Jung <post@ralfj.de>2023-11-30 11:02:40 +0100
commit7a661d048ca63c58fe45399ac813f347fa754294 (patch)
tree6ea6290c08709fe4102bdf4dc88f8849cb69f647 /compiler/rustc_data_structures/src
parent76ec47782ad310262598c21b618225d718cefbea (diff)
parent2d476222e8458aa873e6760aac189b5e9d0a9930 (diff)
downloadrust-7a661d048ca63c58fe45399ac813f347fa754294.tar.gz
rust-7a661d048ca63c58fe45399ac813f347fa754294.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_data_structures/src')
-rw-r--r--compiler/rustc_data_structures/src/graph/scc/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_data_structures/src/graph/scc/mod.rs b/compiler/rustc_data_structures/src/graph/scc/mod.rs
index cf9312ea8fb..b54d75f7ed7 100644
--- a/compiler/rustc_data_structures/src/graph/scc/mod.rs
+++ b/compiler/rustc_data_structures/src/graph/scc/mod.rs
@@ -492,7 +492,7 @@ where
             let returned_walk =
                 return_value.take().into_iter().map(|walk| (*successor_node, Some(walk)));
 
-            let successor_walk = successors.by_ref().map(|successor_node| {
+            let successor_walk = successors.map(|successor_node| {
                 debug!(?node, ?successor_node);
                 (successor_node, self.inspect_node(successor_node))
             });