-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Changed description of caret character in docs #12209
Changed description of caret character in docs #12209
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @weihanglo (or someone else) soon. 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 (
|
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.
Thanks for being interested in contributing to this project! I guess you're fixing #12112. As a good practice, contributors are encouraged to follow the process of submitting a PR in Cargo Contributor Guide, as well as the guideline in the pull request template.
I would suggest providing a minimal description for this pull request.
@@ -56,7 +56,7 @@ using special operators, though it shouldn't be necessary most of the time. | |||
### Caret requirements | |||
|
|||
**Caret requirements** are an alternative syntax for the default strategy, | |||
`^1.2.3` is exactly equivalent to `1.2.3`. | |||
`^1.2.3` means the same thing as `1.2.3`, which allows [SemVer]: https://semver.org compatible updates. |
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.
This combines suggestion from me and ehuss in #12112. What do you think?
`^1.2.3` means the same thing as `1.2.3`, which allows [SemVer]: https://semver.org compatible updates. | |
For instance, `log = "^1.2.3"` means the same thing as `log = "1.2.3", | |
which allows [SemVer] compatible updates. |
@@ -56,7 +56,8 @@ using special operators, though it shouldn't be necessary most of the time. | |||
### Caret requirements | |||
|
|||
**Caret requirements** are an alternative syntax for the default strategy, | |||
`^1.2.3` is exactly equivalent to `1.2.3`. | |||
For instance, `log = "^1.2.3"` means the same thing as `log = "1.2.3"`, | |||
which allows [SemVer]: https://semver.org compatible updates. |
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.
The link is unnecessary I believe?
which allows [SemVer]: https://semver.org compatible updates. | |
which allows [SemVer] compatible updates. |
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.
Thanks.
I am going to merge this once CI passes. If you manage to squash commits into one before that, feel free to do so.
Sorry but no that is not what I meant. I suggested squashing for keeping the git history meaningful. It's not a hard requirement but this PR is better to fit in a single commit. Some useful resources:
BTW, communication is essential in open source project collaboration. Feel free to comment here or ask anything. |
I just updated the branch, I will squash the commits soon. |
@@ -56,7 +56,8 @@ using special operators, though it shouldn't be necessary most of the time. | |||
### Caret requirements | |||
|
|||
**Caret requirements** are an alternative syntax for the default strategy, |
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.
You're starting a new sentence in the next line, so the comma at the end of this one should be turned into a period.
@rustbot author @gautamprikshit1, when this is ready for the next round of review, use |
@rustbot ready |
@weihanglo couldn't squash commits due to the branch updates between commits and hence large number of commits |
@gautamprikshit1, it seems that you still did it wrong. d9434e0 is not what LingMan suggests. We probably need to drop that commit. Besides, the commits are still piled up in this pull request. Have you read those aformentioned materials #12209 (comment)? They should provide a decent amount of understanding :) |
@weihanglo I don't think it will make sense to have a sentence start from which in this case. Having period at the end will signify a new sentence |
@gautamprikshit1 My suggestion was to change |
Due to inactivity and to reduce the review queue, this will be closed shortly. The patch should be relatively easy. Feel free to submit a new one when the above Git and grammar issues are resolved. |
Changed the description of caret character in dependency docs. Fixes #12112