Skip to content

Commit 4d8d461

Browse files
committed
Auto merge of #12598 - sillykelvin:fix-typo, r=hi-rustin
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.
2 parents 40f1f67 + 4996627 commit 4d8d461

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/src/reference/specifying-dependencies.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ Cargo will fetch the `git` repository at this location then look for a
179179
of a workspace and setting `git` to the repository containing the workspace).
180180

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

0 commit comments

Comments
 (0)