From a48a9b6c75c1ab1f3d989f7bb10922bd8c715416 Mon Sep 17 00:00:00 2001 From: Vishal Lama Date: Mon, 31 Dec 2018 00:22:02 -0700 Subject: [PATCH] Update display of contents of Cargo.toml When creating a (binary) program 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. --- src/doc/src/getting-started/first-steps.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/doc/src/getting-started/first-steps.md b/src/doc/src/getting-started/first-steps.md index 018c1db8289..0a3b730dc00 100644 --- a/src/doc/src/getting-started/first-steps.md +++ b/src/doc/src/getting-started/first-steps.md @@ -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 "] +edition = "2018" + +[dependencies] ``` This is called a **manifest**, and it contains all of the metadata that Cargo