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

feat: improve Rust derive sorting by ignoring namespace prefixes #30

Merged
merged 8 commits into from
Sep 16, 2024

Conversation

maksym-arutyunyan
Copy link
Owner

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

This PR keeps Rust derive traits sorting order by the last token (ignoring namespace prefix).

So the std::fmt::Debug and fmt::Debug and Debug will stay close together because the name of the token is more important than the prefix.

@maksym-arutyunyan maksym-arutyunyan changed the title add rust derive tests feat: improve Rust derive sorting by ignoring namespace prefixes Sep 16, 2024
@github-actions github-actions bot added the feat label Sep 16, 2024
@maksym-arutyunyan maksym-arutyunyan marked this pull request as ready for review September 16, 2024 17:44
@maksym-arutyunyan maksym-arutyunyan merged commit 19a90d1 into main Sep 16, 2024
10 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