-
Notifications
You must be signed in to change notification settings - Fork 1.7k
improve manual_is_ascii_check
check
#10053
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
Conversation
r? @Jarcho (rustbot has picked a reviewer for you, use r? to override) |
|
@llogiq Can you take a look at whether I'm in the right direction? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a good start. The main thing missing are tests. I've added comments at the related locations :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation looks good to me, three more nits and then it's ready for merge. Would you mind squashing your commits a bit? Like the two ones adding tests and the two first ones with the same message. :)
Looks good to me, thank you for the addition. I hope you had fun :) @bors r+ |
☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test |
Sorry, not familiar the api, i can only check the method name of expression
<expr-1>.contains(<expr-2>)
after read clippy book and hints from #9933 . i dont know how to checkr? @xFrednet could you please provide some more hints? 😝️
changelog: Enhancement: [
manual_is_ascii_check
]: Now detects ranges with.contains()
calls#10053