8000
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 93f5e21 commit db6427bCopy full SHA for db6427b
core/src/primitive_docs.rs
@@ -1761,6 +1761,8 @@ mod prim_ref {}
1761
/// - `i32` is ABI-compatible with `NonZero<i32>`, and similar for all other integer types.
1762
/// - If `T` is guaranteed to be subject to the [null pointer
1763
/// optimization](option/index.html#representation), then `T` and `Option<T>` are ABI-compatible.
1764
+/// Furthermore, if `U` satisfies the requirements [outlined here](result/index.html#representation),
1765
+/// then `T` and `Result<T, U>` and `Result<U, T>` are all ABI-compatible.
1766
///
1767
/// Furthermore, ABI compatibility satisfies the following general properties:
1768
0 commit comments