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

Reorganize modules to restrict visibility #122

Merged
merged 4 commits into from
Jun 17, 2020

Conversation

pschafhalter
Copy link
Member

Reorganizes mod.rs files so they follow the following format:

// Library imports (e.g. from std)

// Private submodules

// Crate-wide visible submodules

// Public submodules

// Private imports

// Crate-wide exports

// Public exports

// Functions, struct declarations, implementation, etc.

Also restricts visibility of submodules and other objects to reduce the amount of internal objects visible in the public documentation.

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.

None yet

2 participants