Skip to content
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

Derive format for Option and Vec fields #44

Open
vaivaswatha opened this issue Dec 29, 2024 · 0 comments
Open

Derive format for Option and Vec fields #44

vaivaswatha opened this issue Dec 29, 2024 · 0 comments

Comments

@vaivaswatha
Copy link
Owner

We can currently automatically derive Format (Printable + Parsable) for a struct when its fields have Format implemented. If a field is an Option or a Vec of a type that implements Format, then we can provide a format directive to specify so, and then automatically derive Format for such fields too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant