Skip to content

Commit

Permalink
Fix Itertools::flatten() warning
Browse files Browse the repository at this point in the history
Tracking issue: rust-lang/rust#48919
  • Loading branch information
mati865 committed Jun 25, 2018
1 parent 31abb5e commit 2178cdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustup/telemetry_analysis.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ impl TelemetryAnalysis {
self.rustc_error_statistics.error_codes_with_counts = error_codes_with_counts;
self.rustc_success_statistics = compute_rustc_percentiles(&rustc_successful_durations);

let error_list = error_list.into_iter().flatten();
let error_list = Itertools::flatten(error_list.into_iter());

for e in error_list {
let error_count = self.rustc_statistics
Expand Down

0 comments on commit 2178cdb

Please sign in to comment.