Merge pull request #31 from sureshggg/master

Update README.md
pull/33/head
Dhghomon 4 years ago committed by GitHub
commit 83e2f5c9f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2447,7 +2447,7 @@ fn main() {
}
```
`break counter;` means "break with the value of counter". And because the whole bloock starts with `let`, `my_number` gets the value.
`break counter;` means "break with the value of counter". And because the whole block starts with `let`, `my_number` gets the value.
Now that we know how to use loops, here is a better solution to the `match` problem with colours. It is a better solution because we want to compare everything, and a `for` loop looks at every item.

Loading…
Cancel
Save