-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Small changes to ci
tool
#13137
Small changes to ci
tool
#13137
Conversation
This makes it easier to find `mod.rs`, since it will not be hidden alongside 10 other files.
This reverts commit dca3cca.
`pub(crate)` is more of a hassle to write, especially since there is no `lib.rs`. No other crate can depend on this one, so there's no use restricting visibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- I like the docs.
- Slightly positive on using
pub
. - Neutral to slightly negative on mod.rs -> command.rs but I super don't care.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Thanks for adding the docs, especially to the Prepare
-related items.
Just one bikeshedding comment.
Ok, I'm think I'm going to revert the 👍 |
Objective
ci
tool usepub(crate)
, which is functionally equivalent topub
when the crate is not a library.Solution
pub(crate)
items justpub
.pub
is easier to type and less obscure, and there's not harm from this change.CI
,Prepare
, andPreparedCommand
.