about summary refs log tree commit diff
path: root/compiler/rustc_data_structures/src/graph
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-30 18:15:29 +0900
committerGitHub <noreply@github.com>2020-12-30 18:15:29 +0900
commit3812909919bd8a2a65b825acbb27f9f7748f626d (patch)
treea1144a782c391b6a5228a5cd76eddf03a409c1c9 /compiler/rustc_data_structures/src/graph
parent039b62e8881a001c090a82eed8f36416230ede0d (diff)
parent0c3af22e08124a371b182bfec94437d447e15810 (diff)
downloadrust-3812909919bd8a2a65b825acbb27f9f7748f626d.tar.gz
rust-3812909919bd8a2a65b825acbb27f9f7748f626d.zip
Rollup merge of #80487 - matthiaskrgr:field_names, r=jyn514
don't redundantly repeat field names

r? `@Dylan-DPC`
Diffstat (limited to 'compiler/rustc_data_structures/src/graph')
-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 5b3d8233f3d..e2cbb09ce5e 100644
--- a/compiler/rustc_data_structures/src/graph/scc/mod.rs
+++ b/compiler/rustc_data_structures/src/graph/scc/mod.rs
@@ -523,7 +523,7 @@ where
                             successors_len: 0,
                             min_depth: depth,
                             min_cycle_root: successor_node,
-                            successor_node: successor_node,
+                            successor_node,
                         });
                         continue 'recurse;
                     }