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

search_is_some: add checking for is_none() #6942

Merged
merged 1 commit into from
Mar 22, 2021

Conversation

mgacek8
Copy link
Contributor

@mgacek8 mgacek8 commented Mar 20, 2021

fixes: #6815
changelog: search_is_some: add checking for is_none().

To be honest I don't know what is the process of renaming the lints. Appreciate any feedback if that needs to be handled differently. Thanks!

@rust-highfive
Copy link

r? @llogiq

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Mar 20, 2021
@mgacek8 mgacek8 force-pushed the issue_6815_search_is_none branch from a65b0d5 to 37e6298 Compare March 20, 2021 16:54
@llogiq
Copy link
Contributor

llogiq commented Mar 20, 2021

This looks mostly good. However I no longer see a search_is_some lint; we don't remove lints directly, but deprecate them instead.

@matthiaskrgr
Copy link
Member

imo it would be fine to to keep the original lint name 🤔

@flip1995
Copy link
Member

We use register_renamed for renaming lints. I'm also ok with just keeping the old lint name.

@mgacek8 mgacek8 force-pushed the issue_6815_search_is_none branch from 37e6298 to 2ffee89 Compare March 21, 2021 20:42
@mgacek8
Copy link
Contributor Author

mgacek8 commented Mar 21, 2021

Thanks for the info! I restored the original name then :)

@mgacek8 mgacek8 changed the title search_is_some: add checking for is_none() and thus rename the lint to search_is_some_or_none search_is_some: add checking for is_none() Mar 21, 2021
@llogiq
Copy link
Contributor

llogiq commented Mar 22, 2021

Thank you! @bors r+

@bors
Copy link
Contributor

bors commented Mar 22, 2021

📌 Commit 2ffee89 has been approved by llogiq

@bors
Copy link
Contributor

bors commented Mar 22, 2021

⌛ Testing commit 2ffee89 with merge aca95aa...

@bors
Copy link
Contributor

bors commented Mar 22, 2021

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

@bors bors merged commit aca95aa into rust-lang:master Mar 22, 2021
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.

search_is_none
6 participants