From 315fe870d2a4dea713dc75beda5256cf9f0a4325 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Fri, 14 Oct 2016 21:39:12 -0400 Subject: [PATCH] Change more filenames to use * --- nostarch/chapter02.md | 10 +++++----- src/ch02-00-guessing-game-tutorial.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/nostarch/chapter02.md b/nostarch/chapter02.md index 6959cfe9e..5c719c000 100644 --- a/nostarch/chapter02.md +++ b/nostarch/chapter02.md @@ -424,15 +424,15 @@ happens if next week version `v0.3.15` of the `rand` crate comes out and contains an important bug fix but also contains a regression that will break your code? -The answer to this problem is the `Cargo.lock` file, which was created the -first time you ran `cargo build` and is now in your `guessing_game` directory. +The answer to this problem is the *Cargo.lock* file, which was created the +first time you ran `cargo build` and is now in your *guessing_game* directory. When you build a project for the first time, Cargo figures out all the versions of the dependencies that fit the criteria and then writes them to -the `Cargo.lock` file. When you build your project in the future, Cargo will -see that the `Cargo.lock` file exists and use the versions specified there +the *Cargo.lock* file. When you build your project in the future, Cargo will +see that the *Cargo.lock* file exists and use the versions specified there rather than doing all the work of figuring out versions again. This lets you have a reproducible build automatically. In other words, your project will -remain at `0.3.14` until you explicitly upgrade, thanks to the `Cargo.lock` +remain at `0.3.14` until you explicitly upgrade, thanks to the *Cargo.lock* file. #### Updating a Crate to Get a New Version diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index c404be683..a8b3e9393 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -440,15 +440,15 @@ happens if next week version `v0.3.15` of the `rand` crate comes out and contains an important bug fix but also contains a regression that will break your code? -The answer to this problem is the `Cargo.lock` file, which was created the -first time you ran `cargo build` and is now in your `guessing_game` directory. +The answer to this problem is the *Cargo.lock* file, which was created the +first time you ran `cargo build` and is now in your *guessing_game* directory. When you build a project for the first time, Cargo figures out all the versions of the dependencies that fit the criteria and then writes them to -the `Cargo.lock` file. When you build your project in the future, Cargo will -see that the `Cargo.lock` file exists and use the versions specified there +the *Cargo.lock* file. When you build your project in the future, Cargo will +see that the *Cargo.lock* file exists and use the versions specified there rather than doing all the work of figuring out versions again. This lets you have a reproducible build automatically. In other words, your project will -remain at `0.3.14` until you explicitly upgrade, thanks to the `Cargo.lock` +remain at `0.3.14` until you explicitly upgrade, thanks to the *Cargo.lock* file. #### Updating a Crate to Get a New Version