Skip to content

Commit

Permalink
FIX: Wrap long lines in impl_par_methods.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
bluss committed May 19, 2020
1 parent efcd607 commit 8ed9ac3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/parallel/impl_par_methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,10 @@ macro_rules! zip_impl {
.reduce(Partial::stub, Partial::try_merge);

if std::mem::needs_drop::<R>() {
debug_assert_eq!(total_len, collect_result.len, "collect len is not correct, expected {}", total_len);
assert!(collect_result.len == total_len, "Collect: Expected number of writes not completed");
debug_assert_eq!(total_len, collect_result.len,
"collect len is not correct, expected {}", total_len);
assert!(collect_result.len == total_len,
"Collect: Expected number of writes not completed");
}

// Here the collect result is complete, and we release its ownership and transfer
Expand Down

0 comments on commit 8ed9ac3

Please sign in to comment.