From d66911644b4beaa860b5b33fe0894575b6f53add Mon Sep 17 00:00:00 2001 From: Paul Gross Date: Wed, 27 Jan 2016 22:08:37 -0800 Subject: [PATCH] Change hello_world example to use version 0.1.0. This aligns the example with what "cargo new" produces by default. --- src/hello-world.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/hello-world.md b/src/hello-world.md index 9af2d37a7..5232fa7a5 100644 --- a/src/hello-world.md +++ b/src/hello-world.md @@ -250,7 +250,7 @@ Inside this file, type the following information: [package] name = "hello_world" -version = "0.0.1" +version = "0.1.0" authors = [ "Your name " ] ``` @@ -272,7 +272,7 @@ following commands: ```bash $ cargo build - Compiling hello_world v0.0.1 (file:///home/yourname/projects/hello_world) + Compiling hello_world v0.1.0 (file:///home/yourname/projects/hello_world) $ ./target/debug/hello_world Hello, world! ``` @@ -296,7 +296,7 @@ would have seen something like this: ```bash $ cargo run - Compiling hello_world v0.0.1 (file:///home/yourname/projects/hello_world) + Compiling hello_world v0.1.0 (file:///home/yourname/projects/hello_world) Running `target/debug/hello_world` Hello, world! ``` @@ -323,7 +323,7 @@ Running this command also causes Cargo to create a new file called ```toml [root] name = "hello_world" -version = "0.0.1" +version = "0.1.0" ``` Cargo uses the *Cargo.lock* file to keep track of dependencies in your