Skip to content

Commit 7f77ca3

Browse files
authored
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.
1 parent 15e3b5a commit 7f77ca3

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)