Skip to content

Commit

Permalink
Adds trailing comma
Browse files Browse the repository at this point in the history
  • Loading branch information
O-I committed Oct 3, 2014
1 parent 8a6342f commit e8ddad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/doc/guide.md
Expand Up @@ -1140,13 +1140,13 @@ You can have any number of values in an enum:
```{rust}
enum OptionalColor {
Color(int, int, int),
Missing
Missing,
}
```

Enums with values are quite useful, but as I mentioned, they're even more
useful when they're generic across types. But before we get to generics, let's
talk about how to fix this big `if`/`else` statements we've been writing. We'll
talk about how to fix these big `if`/`else` statements we've been writing. We'll
do that with `match`.

# Match
Expand Down

0 comments on commit e8ddad1

Please sign in to comment.