about summary refs log tree commit diff
path: root/compiler/rustc_data_structures
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2020-12-29 22:02:47 +0100
committerMatthias Krüger <matthias.krueger@famsik.de>2020-12-29 22:26:58 +0100
commit0c3af22e08124a371b182bfec94437d447e15810 (patch)
tree49b606e2d7cce0200b24f9d012fb46bf0feb0b78 /compiler/rustc_data_structures
parent158f8d034b15e65ba8dc0d066358dd0632bfcd6e (diff)
downloadrust-0c3af22e08124a371b182bfec94437d447e15810.tar.gz
rust-0c3af22e08124a371b182bfec94437d447e15810.zip
don't redundantly repeat field names
Diffstat (limited to 'compiler/rustc_data_structures')
-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;
                     }