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

Improve strlen_on_c_string #8001

Merged
merged 3 commits into from
Nov 29, 2021
Merged

Improve strlen_on_c_string #8001

merged 3 commits into from
Nov 29, 2021

Conversation

Jarcho
Copy link
Contributor

@Jarcho Jarcho commented Nov 20, 2021

fixes: #7436

changelog: lint strlen_on_c_string when used without a fully-qualified path
changelog: suggest removing the surrounding unsafe block for strlen_on_c_string when possible

@rust-highfive
Copy link

r? @giraffate

(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 Nov 20, 2021
Copy link
Contributor

@giraffate giraffate left a comment

Choose a reason for hiding this comment

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

Overall looks good. Can you address the failed tests?

@giraffate
Copy link
Contributor

@bors r+

Thanks!

@bors
Copy link
Contributor

bors commented Nov 29, 2021

📌 Commit a135347 has been approved by giraffate

@bors
Copy link
Contributor

bors commented Nov 29, 2021

⌛ Testing commit a135347 with merge 908815c...

@bors
Copy link
Contributor

bors commented Nov 29, 2021

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

@bors bors merged commit 908815c into rust-lang:master Nov 29, 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
4 participants