Skip to content

add lint manual_next_back #10769

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

Merged
merged 1 commit into from
May 12, 2023
Merged

add lint manual_next_back #10769

merged 1 commit into from
May 12, 2023

Conversation

Icxolu
Copy link
Contributor

@Icxolu Icxolu commented May 11, 2023

changelog: [manual_next_back]: checks for manual reverse iteration (.rev().next()) of a DoubleEndedIterator

fixes #10274

checks for manual reverse iteration (`.rev().next()`) of a
`DoubleEndedIterator`
@rustbot
Copy link
Collaborator

rustbot commented May 11, 2023

r? @giraffate

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label May 11, 2023
@giraffate
Copy link
Contributor

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented May 12, 2023

📌 Commit a8834bc has been approved by giraffate

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented May 12, 2023

⌛ Testing commit a8834bc with merge 3d456ce...

@bors
Copy link
Contributor

bors commented May 12, 2023

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: giraffate
Pushing 3d456ce to master...

@bors bors merged commit 3d456ce into rust-lang:master May 12, 2023
@Icxolu Icxolu deleted the manual_next_back branch May 13, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties
Projects
None yet
Development

Successfully merging this pull request may close these issues.

suggestion: .rev().next()
4 participants