mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-15 09:14:30 +00:00
docs: grammar fix
This commit is contained in:
parent
0c26524134
commit
2c64023e3e
@ -297,7 +297,7 @@ enum StringResult {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
Where a `StringResult` is either a `StringResult::StringOK`, with the result of
|
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
|
what caused the computation to fail. These kinds of `enum`s are actually very
|
||||||
useful and are even part of the standard library.
|
useful and are even part of the standard library.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user