From db1f17a64b646ecd4e593177f1d62d5c68cf0d6b Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Wed, 5 Aug 2015 12:30:00 -0400 Subject: [PATCH] work -> compile in Guessing Game 'work' can refer to the game itself, ie, 'this compiles but the game isn't finished,' so 'compile' is a more clear way to describe the problem. Thanks jhun on irc --- src/doc/trpl/guessing-game.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/trpl/guessing-game.md b/src/doc/trpl/guessing-game.md index 63a1c10f841..4a35022b03c 100644 --- a/src/doc/trpl/guessing-game.md +++ b/src/doc/trpl/guessing-game.md @@ -533,7 +533,7 @@ Great! Next up: let’s compare our guess to the secret guess. # Comparing guesses Now that we’ve got user input, let’s compare our guess to the random guess. -Here’s our next step, though it doesn’t quite work yet: +Here’s our next step, though it doesn’t quite compile yet: ```rust,ignore extern crate rand; @@ -617,7 +617,7 @@ match guess.cmp(&secret_number) { If it’s `Less`, we print `Too small!`, if it’s `Greater`, `Too big!`, and if `Equal`, `You win!`. `match` is really useful, and is used often in Rust. -I did mention that this won’t quite work yet, though. Let’s try it: +I did mention that this won’t quite compile yet, though. Let’s try it: ```bash $ cargo build