Skip to content

Conversation

tarcieri
Copy link
Member

This commit removes pub visibility from modules which only contain a single type.

All of these types are already re-exported from their parent modules.

This change makes the parent modules the canonical way to access them, which improves readability of the rustdoc.

@tarcieri tarcieri force-pushed the rustsec/flatten-api branch 2 times, most recently from bbf7eb3 to 357ec69 Compare November 12, 2021 02:15
This commit removes `pub` visibility from modules which only contain a
single type.

All of these types are already re-exported from their parent modules.

This change makes the parent modules the canonical way to access them,
which improves readability of the rustdoc.
@tarcieri tarcieri force-pushed the rustsec/flatten-api branch from 357ec69 to d535b7d Compare November 12, 2021 02:21
@tarcieri tarcieri merged commit 1461a59 into main Nov 12, 2021
@tarcieri tarcieri deleted the rustsec/flatten-api branch November 12, 2021 02:34
@tarcieri tarcieri mentioned this pull request Nov 12, 2021
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.

1 participant