Skip to content

Commit

Permalink
Auto merge of #12598 - sillykelvin:fix-typo, r=hi-rustin
Browse files Browse the repository at this point in the history
fix typo: "default branch branch" -> "default branch"

Fix a typo in the doc about git dependencies, I think the second "branch" word might not be needed.
  • Loading branch information
bors committed Aug 30, 2023
2 parents 40f1f67 + 4996627 commit 4d8d461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/src/reference/specifying-dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ Cargo will fetch the `git` repository at this location then look for a
of a workspace and setting `git` to the repository containing the workspace).

Since we haven’t specified any other information, Cargo assumes that
we intend to use the latest commit on the default branch branch
to build our package, which may not necessarily be the main branch.
we intend to use the latest commit on the default branch to build
our package, which may not necessarily be the main branch.
You can combine the `git` key with the `rev`, `tag`, or `branch` keys to
specify something else. Here's an example of specifying that you want to use
the latest commit on a branch named `next`:
Expand Down

0 comments on commit 4d8d461

Please sign in to comment.