-
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
Typedefs and ptr_arg
lint
#1981
Comments
hmm... I think it would be ok to disable the lint on typedefs if the function is not public. But if it's public, you're gonna limit your callers needlessly. |
In my case both function and typedef isn't public. 😄 |
My types are public but it's an internal library where I clarify what is what using type defs. However I won't ever need |
Maybe we should rewrite this lint as a |
That sounds like a great idea! |
I have the following situation:
Typedef is used for clarity, but Clippy produces a warning:
Probably this lint can be disabled for typedes?
The text was updated successfully, but these errors were encountered: