Skip to content

Commit 4318715

Browse files
committed
Merge pull request #21295 from alfie/typo2
docs: grammar fix Reviewed-by: steveklabnik
2 parents 8161345 + 2a6d13c commit 4318715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
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)