Skip to content

Commit b9b785e

Browse files
committed
No Ok<T> or Err<E>, just Ok(T) and Err(E)
1 parent 24affdc commit b9b785e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/error/result.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ describes possible *error* instead of possible *absence*.
55

66
That is, `Result<T, E>` could have one of two outcomes:
77

8-
* `Ok<T>`: An element `T` was found
9-
* `Err<E>`: An error was found with element `E`
8+
* `Ok(T)`: An element `T` was found
9+
* `Err(E)`: An error was found with element `E`
1010

1111
By convention, the expected outcome is `Ok` while the unexpected outcome is `Err`.
1212

0 commit comments

Comments
 (0)