Skip to content

Commit 2c258cc

Browse files
authored
clarify that the condition list is an "all" list.
1 parent e729531 commit 2c258cc

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
@@ -28,7 +28,7 @@ I'm not sure how to write a "guide" portion of this that's any simpler than the
2828
When either of these two `core` types:
2929

3030
* `Option<T>`
31-
* `Result<T, E>` where either `T` or `E`:
31+
* `Result<T, E>` where either `T` or `E` meet all of the following conditions:
3232
* Are a zero-sized type with alignment 1 (a "1-ZST").
3333
* Either have no fields (eg: `()` or `struct Foo;`) or have `repr(transparent)` if there are fields.
3434
* Do not have the `#[non_exhaustive]` attribute.

0 commit comments

Comments
 (0)