mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +00:00
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:
parent
4b71f8d141
commit
722faa024b
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user