diff options
| author | Alfie John <alfiej@fastmail.fm> | 2015-01-17 13:19:21 +0000 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-01-17 10:51:53 -0500 |
| commit | 2c64023e3e03ca05cb10cecec32e5c684c7436ba (patch) | |
| tree | 415ca3f7befe35e2eb1c780aaa330bed7d3376ae /src/doc | |
| parent | 0c26524134fe32ae1e9f07a128bee729278ac964 (diff) | |
| download | rust-2c64023e3e03ca05cb10cecec32e5c684c7436ba.tar.gz rust-2c64023e3e03ca05cb10cecec32e5c684c7436ba.zip | |
docs: grammar fix
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/trpl/compound-data-types.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/compound-data-types.md b/src/doc/trpl/compound-data-types.md index f584fe8d7a3..0616f094e37 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. |
