Skip to content

Commit

Permalink
Auto merge of #6501 - vishallama:vishallama-doc-update-cargo.toml, r=…
Browse files Browse the repository at this point in the history
…dwijnand

Update display of contents of Cargo.toml

When creating a (binary) program/crate using 'cargo new', with the new 2018 version of Rust the autogenerated Cargo.toml file contains a couple of additional lines. These lines have to do with edition and dependencies.
  • Loading branch information
bors committed Dec 31, 2018
2 parents 9178fc8 + a48a9b6 commit cf75305
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/doc/src/getting-started/first-steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ This is all we need to get started. First, let’s check out `Cargo.toml`:
name = "hello_world"
version = "0.1.0"
authors = ["Your Name <you@example.com>"]
edition = "2018"

[dependencies]
```

This is called a **manifest**, and it contains all of the metadata that Cargo
Expand Down

0 comments on commit cf75305

Please sign in to comment.