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

Fix clippy warning by changing for loop to an iterator #8

Merged
merged 1 commit into from Aug 28, 2022

Conversation

tripleab
Copy link
Contributor

clippy was giving a needless_range_loop warning after pull request #5. I have reformatted in order to use an iterator. This warning could also be prevented by using #[allow(needless_range_loop)] above the aforementioned range loop.

@Ruturajn
Copy link
Owner

Ruturajn commented Aug 27, 2022

Yeah, I was going to address this issue, but could not find the time (I would have gotten around to it, in a few days). Anyway, thanks for the PR 😄 .

@Ruturajn Ruturajn merged commit e6667ca into Ruturajn:main Aug 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants