Skip to content

Commit 40b65f3

Browse files
authored
missing comma
1 parent e8ecdc4 commit 40b65f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text/0000-result_ffi_guarantees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Is combined with a non-zero or non-null type (see the chart), the combination ha
5656

5757
* While `fn()` is listed just once in the above table, this rule applies to all `fn` types (regardless of ABI, arguments, and return type).
5858

59-
For simplicity the table listing only uses `Result<_, ()>`, but swapping the `T` and `E` types, or using `Option<T>` is also valid.
59+
For simplicity the table listing only uses `Result<_, ()>`, but swapping the `T` and `E` types, or using `Option<T>`, is also valid.
6060
What changes are the implied semantics:
6161
* `Result<NonZeroI32, ()>` is "a non-zero success value"
6262
* `Result<(), NonZeroI32>` is "a non-zero error value"

0 commit comments

Comments
 (0)