Updated appropriate docs referencing [root]
authorRay Tung <raytung@users.noreply.github.com>
Tue, 3 Oct 2017 12:33:32 +0000 (23:33 +1100)
committerRay Tung <raytung@users.noreply.github.com>
Tue, 3 Oct 2017 12:33:32 +0000 (23:33 +1100)
src/doc/book/src/guide/cargo-toml-vs-cargo-lock.md
src/doc/guide.md

index de3f18cb08b6fc4949b0eec37317704336c039b5..574a6677f230e3f637b88cab798b4d1be91805e3 100644 (file)
@@ -71,7 +71,7 @@ Cargo will take the latest commit and write that information out into our
 `Cargo.lock` when we build for the first time. That file will look like this:
 
 ```toml
-[root]
+[[package]]
 name = "hello_world"
 version = "0.1.0"
 dependencies = [
index 55decf1ac6aa2871802aa6fe394fb0cdbb567d0d..e63be4dd5921ebded3248395a8ab67688e30f791 100644 (file)
@@ -328,7 +328,7 @@ Cargo will take the latest commit and write that information out into our
 `Cargo.lock` when we build for the first time. That file will look like this:
 
 ```toml
-[root]
+[[package]]
 name = "hello_world"
 version = "0.1.0"
 dependencies = [