-
Notifications
You must be signed in to change notification settings - Fork 14
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
Using pass-through formatting in Display #38
Comments
Currently, In the future, we may add the ability to generate such code by specifying an attribute such as |
Thx @frozenlib for quick reply! Could you maybe point me to what changes would be needed to make it possible? I could try to hack on it in my spare time |
parse-display/parse-display-derive/src/lib.rs Lines 750 to 759 in 1edea8e
I think the first step would be to add field I won't know until I actually write it, but it seems like many modifications will be necessary. |
Is there a way to generate this Display implementation? Note that this is not a
write!(f, "{0}", v)
, but ratherv.fmt(f)
call.The text was updated successfully, but these errors were encountered: