Skip to content

Commit 9178fc8

Browse files
committed
Auto merge of #6502 - vishallama:vishallama-doc-update-cargo-1.toml, r=dwijnand
Update display of contents of Cargo.toml The display of the contents of the Cargo.toml file needs to be updated, in keeping with the Rust 2018 edition.
2 parents 15e3b5a + 7f77ca3 commit 9178fc8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/doc/src/guide/creating-a-new-project.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Let’s take a closer look at `Cargo.toml`:
3030
name = "hello_world"
3131
version = "0.1.0"
3232
authors = ["Your Name <you@example.com>"]
33+
edition = "2018"
34+
35+
[dependencies]
36+
3337
```
3438

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

0 commit comments

Comments
 (0)