Skip to content

Commit 50932f5

Browse files
committed
Rollup merge of rust-lang#32931 - deepak:gh-issue-32928-update-cargo-in-getting-started-doc, r=GuillaumeGomez
Doc fix: Update Cargo.toml in book/getting-started The Cargo.toml mentioned in book/getting-started is missing the section called `[dependencies]` fixes rust-lang#32928
2 parents 7e36dc3 + 722faa0 commit 50932f5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/book/getting-started.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,8 +575,12 @@ look something like this:
575575
name = "hello_world"
576576
version = "0.1.0"
577577
authors = ["Your Name <[email protected]>"]
578+
579+
[dependencies]
578580
```
579581

582+
Do not worry about the `[dependencies]` line, we will come back to it later.
583+
580584
Cargo has populated *Cargo.toml* with reasonable defaults based on the arguments
581585
you gave it and your `git` global configuration. You may notice that Cargo has
582586
also initialized the `hello_world` directory as a `git` repository.

0 commit comments

Comments
 (0)