Doc fix: Update Cargo.toml in book/getting-started

The Cargo.toml mentioned in book/getting-started
is missing the section called `[dependencies]`
This commit is contained in:
Deepak Kannan 2016-04-13 16:01:05 +05:30
parent 4b71f8d141
commit 722faa024b

View File

@ -575,8 +575,12 @@ look something like this:
name = "hello_world" name = "hello_world"
version = "0.1.0" version = "0.1.0"
authors = ["Your Name <you@example.com>"] authors = ["Your Name <you@example.com>"]
[dependencies]
``` ```
Do not worry about the `[dependencies]` line, we will come back to it later.
Cargo has populated *Cargo.toml* with reasonable defaults based on the arguments Cargo has populated *Cargo.toml* with reasonable defaults based on the arguments
you gave it and your `git` global configuration. You may notice that Cargo has you gave it and your `git` global configuration. You may notice that Cargo has
also initialized the `hello_world` directory as a `git` repository. also initialized the `hello_world` directory as a `git` repository.