Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address clippy lints #759

Closed
wants to merge 3 commits into from
Closed

Conversation

danieleades
Copy link
Contributor

No description provided.

@@ -474,10 +474,8 @@ fn equal(c: &mut Criterion) {
fn merge_default(c: &mut Criterion) {
let mut data1 = vec![0; 1024];
let mut data2 = vec![0; 800];
let mut x = 0;
for (_, elt) in data1.iter_mut().enumerate() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there a reason this pattern was used in the bench tests?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know about this pattern. It definitely seems weird. Maybe due to something removed from itertools, I have no clue.
But you seem to address the same problems as the recent #740 . Sometimes in different ways.

@danieleades danieleades marked this pull request as ready for review September 21, 2023 06:49
@Philippe-Cholet
Copy link
Member

#740 which addresses clippy lints is now merged so this is sadly duplicated work. Thanks anyway.

@danieleades danieleades deleted the clippy branch January 9, 2024 08:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants