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.
1 parent e729531 commit 2c258ccCopy full SHA for 2c258cc
text/0000-result_ffi_guarantees.md
@@ -28,7 +28,7 @@ I'm not sure how to write a "guide" portion of this that's any simpler than the
28
When either of these two `core` types:
29
30
* `Option<T>`
31
-* `Result<T, E>` where either `T` or `E`:
+* `Result<T, E>` where either `T` or `E` meet all of the following conditions:
32
* Are a zero-sized type with alignment 1 (a "1-ZST").
33
* Either have no fields (eg: `()` or `struct Foo;`) or have `repr(transparent)` if there are fields.
34
* Do not have the `#[non_exhaustive]` attribute.
0 commit comments