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

refactor: use next_back instead of last on double-ended iterators (clippy::double_ended_iterator_last) #262

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

wmmc88
Copy link
Collaborator

@wmmc88 wmmc88 commented Jan 13, 2025

This pull request includes changes to use next_back instead of last on double-ended iterators. This resolves the new clippy::double_ended_iterator_last lint. See https://rust-lang.github.io/rust-clippy/master/index.html#double_ended_iterator_last for more info on why this change is beneficial.

@wmmc88 wmmc88 requested a review from Copilot January 13, 2025 05:25
@wmmc88 wmmc88 self-assigned this Jan 13, 2025

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.

@wmmc88 wmmc88 enabled auto-merge January 13, 2025 22:43
@wmmc88 wmmc88 added this pull request to the merge queue Jan 13, 2025
Merged via the queue into microsoft:main with commit 2d87280 Jan 13, 2025
62 checks passed
@wmmc88 wmmc88 deleted the clippy-1-10-25 branch January 13, 2025 23:21
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.

3 participants