Skip to content

Commit

Permalink
itertools's flatten conflicts with rust nightly newly added flatten
Browse files Browse the repository at this point in the history
  • Loading branch information
samueltardieu committed Feb 26, 2018
1 parent c160d96 commit eb7a947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connected_components.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ where
.map(|(_, gs)| {
gs.into_iter()
.map(|(i, _)| groups[i].clone())
.flatten()
.flat_map(|i| i)
.collect::<HashSet<_>>()
})
.collect()
Expand Down

0 comments on commit eb7a947

Please sign in to comment.