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

impl Default for structs where all properties have a default #725

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

ahl
Copy link
Collaborator

@ahl ahl commented Dec 24, 2024

Fixes #181.

This doesn't add Default markers to native types as the prototype in #184 does. That concept could be implemented independently.

This PR also make some additional references fully qualified.

@ahl ahl merged commit 2597a22 into main Dec 24, 2024
4 checks passed
@ahl ahl deleted the default-by-default branch December 24, 2024 19:43
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

Successfully merging this pull request may close these issues.

Structs without any "required" should implement Default
1 participant