From e4543286a02d84f8681e7fc82c60a2432451dfa0 Mon Sep 17 00:00:00 2001 From: Elahn Ientile Date: Sat, 20 Aug 2016 15:50:21 +1000 Subject: [PATCH] Fix verbose explanation --- src/ch02-00-guessing-game-tutorial.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/ch02-00-guessing-game-tutorial.md b/src/ch02-00-guessing-game-tutorial.md index cc9bfc3..20c50b9 100644 --- a/src/ch02-00-guessing-game-tutorial.md +++ b/src/ch02-00-guessing-game-tutorial.md @@ -637,11 +637,10 @@ match guess.cmp(&secret_number) { The `cmp()` method compares two values, and can be called on anything that can be compared. It takes a reference to the thing you want to compare it to, so -here it's comparing our `guess` to our `secret_number`. `cmp()` returns a -variant of the `Ordering` type we imported with the `use` statement earlier. We -use a [`match`][match] statement to decide what to do next based on which -variant of `Ordering` we got back from our call to `cmp()` with the values in -`guess` and `secret_number`. +here it's comparing our `guess` to our `secret_number` and returning a variant +of the `Ordering` enum. We use a [`match`][match] statement to decide what to +do next based on which variant of `Ordering` we got back from our call to +`cmp()` with the values in `guess` and `secret_number`. [match]: match.html