From 722faa024b99473eeda2a58b7c8f3e7fb2ad1eab Mon Sep 17 00:00:00 2001 From: Deepak Kannan Date: Wed, 13 Apr 2016 16:01:05 +0530 Subject: [PATCH] Doc fix: Update Cargo.toml in book/getting-started The Cargo.toml mentioned in book/getting-started is missing the section called `[dependencies]` --- src/doc/book/getting-started.md | 4 ++++ 1 file changed, 4 insertions(+) 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 "] + +[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.