diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-08-05 12:30:00 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-08-05 12:30:00 -0400 |
| commit | db1f17a64b646ecd4e593177f1d62d5c68cf0d6b (patch) | |
| tree | cb8987680f3f26fe5b4bc3547da096bd919f4082 | |
| parent | d03456183e85fe7bd465bbe7c8f67885a2528444 (diff) | |
| download | rust-db1f17a64b646ecd4e593177f1d62d5c68cf0d6b.tar.gz rust-db1f17a64b646ecd4e593177f1d62d5c68cf0d6b.zip | |
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
| -rw-r--r-- | src/doc/trpl/guessing-game.md | 4 |
1 files 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 |
