about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorDeepak Kannan <kannan.deepak@gmail.com>2016-04-13 16:01:05 +0530
committerDeepak Kannan <kannan.deepak@gmail.com>2016-04-13 17:06:24 +0530
commit722faa024b99473eeda2a58b7c8f3e7fb2ad1eab (patch)
tree9dfa5210b00a323e8e8d70244645418374bd4d0a /src/doc
parent4b71f8d1417423d933dfd4f74d5d4d167b85f77e (diff)
downloadrust-722faa024b99473eeda2a58b7c8f3e7fb2ad1eab.tar.gz
rust-722faa024b99473eeda2a58b7c8f3e7fb2ad1eab.zip
Doc fix: Update Cargo.toml in book/getting-started
The Cargo.toml mentioned in book/getting-started
is missing the section called `[dependencies]`
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/book/getting-started.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/doc/book/getting-started.md b/src/doc/book/getting-started.md
index 16141d936eb..1fe3f6da0eb 100644
--- a/src/doc/book/getting-started.md
+++ b/src/doc/book/getting-started.md
@@ -575,8 +575,12 @@ look something like this:
 name = "hello_world"
 version = "0.1.0"
 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
 you gave it and your `git` global configuration. You may notice that Cargo has
 also initialized the `hello_world` directory as a `git` repository.