-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
config/codegen: Stop generating useless Display impls #1502
Conversation
- objects: It uses to print the type name: not useful at all - enums: It does print what a debug impl would print - flags: It does print what a debug impl would print So just get rid of that generated code and let the bindings generate a display impl manually when it makes sense
Note that the special display implementations are kept, if the type has a |
Yes keeping those is a good idea. |
could it be worth to have a (This can also be a follow up) |
Sure, not going to do that though :) it shouldn't be too difficult to add a new config that make the configured function name used in the display impl |
2302c6c
to
f613ce6
Compare
8fe7aa3
to
ff23a44
Compare
ff23a44
to
a89a202
Compare
should be good to go :) |
So just get rid of that generated code and let the bindings generate a display impl manually when it makes sense