Skip to content

Commit 8ed9ac3

Browse files
committed
FIX: Wrap long lines in impl_par_methods.rs
1 parent efcd607 commit 8ed9ac3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/parallel/impl_par_methods.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,10 @@ macro_rules! zip_impl {
120120
.reduce(Partial::stub, Partial::try_merge);
121121

122122
if std::mem::needs_drop::<R>() {
123-
debug_assert_eq!(total_len, collect_result.len, "collect len is not correct, expected {}", total_len);
124-
assert!(collect_result.len == total_len, "Collect: Expected number of writes not completed");
123+
debug_assert_eq!(total_len, collect_result.len,
124+
"collect len is not correct, expected {}", total_len);
125+
assert!(collect_result.len == total_len,
126+
"Collect: Expected number of writes not completed");
125127
}
126128

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

0 commit comments

Comments
 (0)