Skip to content

Commit 00ae767

Browse files
committed
Update guide.md
Corrected singular/plural reference to enums
1 parent e84e7a0 commit 00ae767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/guide.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ enum StringResult {
11491149
}
11501150
```
11511151
Where a `StringResult` is either an `StringOK`, with the result of a computation, or an
1152-
`ErrorReason` with a `String` explaining what caused the computation to fail. This kind of
1152+
`ErrorReason` with a `String` explaining what caused the computation to fail. These kinds of
11531153
`enum`s are actually very useful and are even part of the standard library.
11541154

11551155
As you can see `enum`s with values are quite a powerful tool for data representation,

0 commit comments

Comments
 (0)