From 7f77ca3c12775fd758841fd8923569ba607f1a31 Mon Sep 17 00:00:00 2001 From: Vishal Lama Date: Mon, 31 Dec 2018 02:38:03 -0700 Subject: [PATCH] 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. --- src/doc/src/guide/creating-a-new-project.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/doc/src/guide/creating-a-new-project.md b/src/doc/src/guide/creating-a-new-project.md index 5d79c2c2dba..92a97a2d6e9 100644 --- a/src/doc/src/guide/creating-a-new-project.md +++ b/src/doc/src/guide/creating-a-new-project.md @@ -30,6 +30,10 @@ Let’s take a closer look at `Cargo.toml`: name = "hello_world" version = "0.1.0" authors = ["Your Name "] +edition = "2018" + +[dependencies] + ``` This is called a **manifest**, and it contains all of the metadata that Cargo