-
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
No to_string in display #5574
No to_string in display #5574
Conversation
Please also add the example in #4396 where a to_string method is implemented as just another method of a struct and then used in the Display implementation. As long as this is linted, I'm hesitant to make this lint enabled by default and would rather put it in |
Friendly ping @Toxyxer. Did you have time to add the test case? If you need help with something, feel free to ask anytime. |
ping from triage @Toxyxer. Thanks for contributing to Clippy! Sadly this PR didn't receive an update in the last 2 weeks. If you have more time to continue working on this, feel free to reopen. |
Fixes #3876
changelog:
to-string-in-display