Skip to content

Commit eb7a947

Browse files
committed
itertools's flatten conflicts with rust nightly newly added flatten
1 parent c160d96 commit eb7a947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connected_components.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ where
103103
.map(|(_, gs)| {
104104
gs.into_iter()
105105
.map(|(i, _)| groups[i].clone())
106-
.flatten()
106+
.flat_map(|i| i)
107107
.collect::<HashSet<_>>()
108108
})
109109
.collect()

0 commit comments

Comments
 (0)