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

Rename field_names_idents -> field_idents_aliases #2842

Merged
merged 2 commits into from
Oct 22, 2024

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Oct 22, 2024

Followup to the second commit of #2566. The original naming field_names_idents used to make sense when the contents were a tuple of field name (&str) and ident. It was changed to a 3-tuple of field name, ident, aliases by #1458 without renaming any variables. Then the field name was removed by #2566, leaving ident and aliases.

Maybe a struct instead of a tuple would be more suitable.

@dtolnay dtolnay merged commit 1f9eb83 into serde-rs:master Oct 22, 2024
15 checks passed
@dtolnay dtolnay deleted the identsaliases branch October 22, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant