From e8ddad18e85db86684e4219685daa751d733a92e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rahul=20Hor=C3=A9?= Date: Fri, 3 Oct 2014 13:50:42 -0400 Subject: [PATCH] Adds trailing comma --- src/doc/guide.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index a5c0ae1d66c..aeb21a28bdc 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -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