Skip to content

Commit

Permalink
Fix warning from clippy 1.78
Browse files Browse the repository at this point in the history
It does not really change anything but it makes clippy happy so we are too.
  • Loading branch information
Philippe-Cholet committed May 2, 2024
1 parent dd6a569 commit 95a9cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/adaptors/multi_product.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ where
// This cartesian product had at most one item to generate and now ends.
self.0 = ProductEnded;
} else {
inner.cur = next.clone();
inner.cur.clone_from(&next);
}
next
}
Expand Down

0 comments on commit 95a9cb0

Please sign in to comment.