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

Touch up borrowed field identifiers PR #1959

Merged
merged 9 commits into from Jan 23, 2021
Merged

Touch up borrowed field identifiers PR #1959

merged 9 commits into from Jan 23, 2021

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Jan 23, 2021

Followup to #1917.

All of these macros are only used internally within the serde crate.
There is no need for them to have #[macro_export] and need to be hidden
from docs.
We shouldn't try to use the same macro for public and private types. The
API for a private type can usually be pared much further down to save
compile time, such as Debug and Copy and Clone impls.
@dtolnay dtolnay merged commit 8f09aea into master Jan 23, 2021
@dtolnay dtolnay deleted the 1917 branch January 23, 2021 21:15
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.

None yet

1 participant