From 00ae7676097f9279e444f78bc3fa81a4d5f14bec Mon Sep 17 00:00:00 2001 From: tshakah Date: Thu, 6 Nov 2014 15:19:00 +0000 Subject: [PATCH] Update guide.md Corrected singular/plural reference to enums --- src/doc/guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/guide.md b/src/doc/guide.md index 9a1a42478d3..0fe1c6a0805 100644 --- a/src/doc/guide.md +++ b/src/doc/guide.md @@ -1149,7 +1149,7 @@ enum StringResult { } ``` Where a `StringResult` is either an `StringOK`, with the result of a computation, or an -`ErrorReason` with a `String` explaining what caused the computation to fail. This kind of +`ErrorReason` with a `String` explaining what caused the computation to fail. These kinds of `enum`s are actually very useful and are even part of the standard library. As you can see `enum`s with values are quite a powerful tool for data representation,