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

New lint: iter_nth_zero #4957

Closed
ghost opened this issue Dec 26, 2019 · 1 comment · Fixed by #4966
Closed

New lint: iter_nth_zero #4957

ghost opened this issue Dec 26, 2019 · 1 comment · Fixed by #4966
Labels
A-lint Area: New lints good-first-issue These issues are a good way to get started with Clippy L-complexity Lint: Belongs in the complexity lint group

Comments

@ghost
Copy link

ghost commented Dec 26, 2019

Suggest replacing iter.nth(0) with iter.next().

@JohnTitor JohnTitor added the A-lint Area: New lints label Dec 27, 2019
@flip1995 flip1995 added L-complexity Lint: Belongs in the complexity lint group good-first-issue These issues are a good way to get started with Clippy labels Dec 28, 2019
@bradsherman
Copy link
Contributor

Hi, I'd like to try and tackle this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Area: New lints good-first-issue These issues are a good way to get started with Clippy L-complexity Lint: Belongs in the complexity lint group
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants