-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #13341 - rimutaka:git-path-doc-9624, r=weihanglo
doc: Edits for git/path dependency sections Fixes #9624 ## Summary Made changes to [[Specifying dependencies from git repositories](https://doc.rust-lang.org/nightly/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories)] and [Specifying path dependencies](https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-path-dependencies) sections of the Reference. * minor rephrasing for readability * added more examples * added sub-headings * rearranged a few paragraphs for readability ### Additional info `@weihanglo` proposed a small change in this comment #9624 (comment). It had been a while since I read that reference page, so I had a novice's point view and expanded the scope of the change to address the questions that I had while reading it. The combination of _git_, _path_ and _version_ keys was specially confusing until I read the Multiple locations section. If you think this is too much change for no gain I am happy to reverse the edits and only add the new info as per `@weihanglo` 's comment.
- Loading branch information
Showing
1 changed file
with
121 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters