-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
False positive on single_char_pattern with serde_json::Value.find(_) #830
Comments
That's not really a false positive, but a hint that |
Yes, I am aware that serde's Value implementation is to blame. However, the user likely isn't – and as long as we don't go around fixing incomplete Linting incomplete implementations would be a good way forward. I'm doing something similar with |
can we also check if the method's generics are what we think they should be and not lint in that case? Basically:
|
There's a similar false positive on |
Yes, the current lint ignores the type of |
When this was originally implemented, I had also suggested searching for I think improving this lint to search for |
will trigger the lint, however
Value
cannotfind
single characters for some reason. (Found in https://github.com/Thinkofname/steven-rust)The text was updated successfully, but these errors were encountered: