-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
chore: Fix minor grammar nit in command-line help #13602
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @ehuss (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
b43904c
to
ce3b75e
Compare
@@ -1,5 +1,5 @@ | |||
{{#option "`--frozen`" "`--locked`"}} | |||
Either of these flags requires that the `Cargo.lock` file is | |||
Either of these flags require that the `Cargo.lock` file be |
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.
“Require” should be in singular form, as it agrees with “Either,” which is a singular subject, no?
Either of these flags require that the `Cargo.lock` file be | |
Either of these flags requires that the `Cargo.lock` file be |
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.
Sorry, you're correct. I've updated the PR with this fix.
A *very* minor grammar correction. "Require" used in this way is typically followed by the infinitive.
ce3b75e
to
8fa25ba
Compare
@bors r+ Thanks for the grammar fix! |
☀️ Test successful - checks-actions |
Update cargo 5 commits in 2fe739fcf16c5bf8c2064ab9d357f4a0e6c8539b..d438c80c45c24be676ef5867edc79d0a14910efe 2024-03-15 21:39:18 +0000 to 2024-03-19 16:11:22 +0000 - refactor(toml): Expose surce/spans for VirtualManifests (rust-lang/cargo#13603) - cargo/init: avoid target.name assignments if possible (rust-lang/cargo#13606) - chore: Fix minor grammar nit in command-line help (rust-lang/cargo#13602) - Bump to 0.80.0; update changelog (rust-lang/cargo#13604) - cargo: prevent dashes in lib.name (rust-lang/cargo#12783) r? ghost
This change fixes a very minor grammar mistake. "Require" used in this way is
typically followed by the infinitive. In addition, since "up-to-date" is used
an adjective now it should be hyphenated.
See https://www.merriam-webster.com/dictionary/up-to-date
Testing
I have run
cargo test
withCFG_DISABLE_CROSS_TESTS=1
as well ascargo build-man
to regenerate the man pages.Fixes #13601.