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 standard traits for structs #3041

Merged
merged 9 commits into from
May 15, 2024
Merged

Derive standard traits for structs #3041

merged 9 commits into from
May 15, 2024

Conversation

kennykerr
Copy link
Collaborator

Continuing on from #3015, this further derives the standard traits for structs where possible to reduce lines of code and improve readability.

@kennykerr
Copy link
Collaborator Author

Looks like deriving Debug for function pointers is new in Rust 1.70 so that'll be the new MSRV for the windows crate.

@kennykerr kennykerr merged commit d7d7953 into master May 15, 2024
71 checks passed
@kennykerr kennykerr deleted the derive-structs-2 branch May 15, 2024 17:17
mati865 pushed a commit to mati865/windows-rs that referenced this pull request Jun 15, 2024
@kennykerr kennykerr mentioned this pull request Jul 30, 2024
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