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

Improve Snapshot Test Configuration Deserialization #6661

Merged

Conversation

cwfitzgerald
Copy link
Member

Small improvement I noticed. By putting the default on the struct instead of the individual members, you no longer need to specify default on every single member.

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy. If applicable, add:
    • --target wasm32-unknown-unknown
    • --target wasm32-unknown-emscripten
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

@cwfitzgerald cwfitzgerald requested a review from a team as a code owner December 5, 2024 03:31
@cwfitzgerald cwfitzgerald merged commit c933487 into gfx-rs:trunk Dec 5, 2024
27 checks passed
@cwfitzgerald cwfitzgerald deleted the cw/improve-naga-snapshot-test branch December 5, 2024 16:32
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.

2 participants