We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Ok<T>
Err<E>
Ok(T)
Err(E)
1 parent 24affdc commit b9b785eCopy full SHA for b9b785e
src/error/result.md
@@ -5,8 +5,8 @@ describes possible *error* instead of possible *absence*.
5
6
That is, `Result<T, E>` could have one of two outcomes:
7
8
-* `Ok<T>`: An element `T` was found
9
-* `Err<E>`: An error was found with element `E`
+* `Ok(T)`: An element `T` was found
+* `Err(E)`: An error was found with element `E`
10
11
By convention, the expected outcome is `Ok` while the unexpected outcome is `Err`.
12
0 commit comments