Skip to content

chore: add an example for rust derive trait order #24

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

Merged
merged 9 commits into from
Sep 1, 2024
Merged

Conversation

maksym-arutyunyan
Copy link
Owner

@maksym-arutyunyan maksym-arutyunyan commented Sep 1, 2024

This PR introduces a project testing the importance of the order in which Rust derive traits are applied.

It includes:

  • Custom procedural macros First and Second
  • Tests to validate behavior with different derive orders

Notes:

  • The keepsorted tool is ignored on a test file to avoid automatic reordering of derive traits.

@github-actions github-actions bot added the chore label Sep 1, 2024
@maksym-arutyunyan maksym-arutyunyan changed the title chore: add derive order test chore: add an example for rust derive trait order Sep 1, 2024
@maksym-arutyunyan maksym-arutyunyan marked this pull request as ready for review September 1, 2024 08:26
@maksym-arutyunyan maksym-arutyunyan merged commit 41f5618 into main Sep 1, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant