]> git.lizzy.rs Git - rust.git/commitdiff
Adds trailing comma
authorRahul Horé <hore.rahul@gmail.com>
Fri, 3 Oct 2014 17:50:42 +0000 (13:50 -0400)
committerRahul Horé <hore.rahul@gmail.com>
Fri, 3 Oct 2014 17:50:42 +0000 (13:50 -0400)
src/doc/guide.md

index a5c0ae1d66c446cfa827fb587c2ff4235a6f6e3b..aeb21a28bdcf7470770b9b637978a280a02ede39 100644 (file)
@@ -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