Skip to content

Commit 722faa0

Browse files
committed
Doc fix: Update Cargo.toml in book/getting-started
The Cargo.toml mentioned in book/getting-started is missing the section called `[dependencies]`
1 parent 4b71f8d commit 722faa0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/book/getting-started.md

+4
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 <you@example.com>"]
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)