From 2a6d13c1e9eb6e92cebd127bf2f6d0a483075ac2 Mon Sep 17 00:00:00 2001 From: Alfie John Date: Sat, 17 Jan 2015 13:19:21 +0000 Subject: [PATCH] docs: grammar fix --- src/doc/trpl/compound-data-types.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/trpl/compound-data-types.md b/src/doc/trpl/compound-data-types.md index 5ad9fcd41f554..54de55104ccbe 100644 --- a/src/doc/trpl/compound-data-types.md +++ b/src/doc/trpl/compound-data-types.md @@ -297,7 +297,7 @@ enum StringResult { } ``` Where a `StringResult` is either a `StringResult::StringOK`, with the result of -a computation, or an `StringResult::ErrorReason` with a `String` explaining +a computation, or a `StringResult::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.