Skip to content

Commit 2c64023

Browse files
Alfie Johnsteveklabnik
Alfie John
authored andcommitted
docs: grammar fix
1 parent 0c26524 commit 2c64023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/trpl/compound-data-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ enum StringResult {
297297
}
298298
```
299299
Where a `StringResult` is either a `StringResult::StringOK`, with the result of
300-
a computation, or an `StringResult::ErrorReason` with a `String` explaining
300+
a computation, or a `StringResult::ErrorReason` with a `String` explaining
301301
what caused the computation to fail. These kinds of `enum`s are actually very
302302
useful and are even part of the standard library.
303303

0 commit comments

Comments
 (0)