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

Add new unnecessary_get_then_check lint #12339

Merged
merged 4 commits into from Feb 25, 2024

Conversation

GuillaumeGomez
Copy link
Member

No issue linked to this as far as I can see. It's a lint I discovered that could be added when I worked on another lint.

r? @llogiq

changelog: Add new unnecessary_get_then_check lint

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Feb 23, 2024
@GuillaumeGomez GuillaumeGomez force-pushed the add-unnecessary_get_then_check branch 3 times, most recently from 9f3e45a to b3dcee0 Compare February 23, 2024 16:40
@GuillaumeGomez
Copy link
Member Author

Finally fixed doc examples and dogfood. ^^'

Pretty nice to see that the lint already caught some cases in clippy source code. :)

@llogiq
Copy link
Contributor

llogiq commented Feb 24, 2024

Thank you!

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 24, 2024

📌 Commit b3dcee0 has been approved by llogiq

It is now in the queue for this repository.

bors added a commit that referenced this pull request Feb 24, 2024
… r=llogiq

Add new `unnecessary_get_then_check` lint

No issue linked to this as far as I can see. It's a lint I discovered that could be added when I worked on another lint.

r? `@llogiq`

changelog: Add new `unnecessary_get_then_check` lint
@bors
Copy link
Collaborator

bors commented Feb 24, 2024

⌛ Testing commit b3dcee0 with merge c7ba4bd...

@bors
Copy link
Collaborator

bors commented Feb 24, 2024

💔 Test failed - checks-action_test

@GuillaumeGomez
Copy link
Member Author

Rebasing just in case...

@GuillaumeGomez
Copy link
Member Author

Rebased!

@llogiq
Copy link
Contributor

llogiq commented Feb 25, 2024

@bors r+

@bors
Copy link
Collaborator

bors commented Feb 25, 2024

📌 Commit 5e2707d has been approved by llogiq

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Feb 25, 2024

⌛ Testing commit 5e2707d with merge 76e4864...

@bors
Copy link
Collaborator

bors commented Feb 25, 2024

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: llogiq
Pushing 76e4864 to master...

@bors bors merged commit 76e4864 into rust-lang:master Feb 25, 2024
8 checks passed
@GuillaumeGomez GuillaumeGomez deleted the add-unnecessary_get_then_check branch February 25, 2024 11:17
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.

None yet

4 participants