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

Apply visibility restriction to struct fields #10

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

sagebind
Copy link
Owner

@sagebind sagebind commented Apr 2, 2024

When changing the visibility of a struct field from pub to pub(crate), also apply the same change to any struct fields that are also pub.

Fixes #7.

When changing the visibility of a struct field from `pub` to `pub(crate)`, also apply the same change to any struct fields that are also `pub`.

Fixes #7.
@sagebind sagebind merged commit 2777981 into master Apr 2, 2024
6 checks passed
@sagebind sagebind deleted the fix-7-struct-fields branch April 2, 2024 04:59
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.

When struct marked as unstable is made pub(crate), make its public fields pub(crate)
1 participant