File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,15 +121,15 @@ enum Scalar {
121
121
122
122
For example, the call ABI of:
123
123
124
- * ` i32 ` is ` Scalar ` ,
124
+ * ` i32 ` is ` Scalar::Int(I32,true) ` ,
125
125
* ` #[repr(C)] struct Wrapper(i32); ` is ` Aggregate { sized: true } ` .
126
- * ` #[repr(transparent)] struct Wrapper(i32); ` is ` Scalar ` .
126
+ * ` #[repr(transparent)] struct Wrapper(i32); ` is ` Scalar::Int(I32,true) ` .
127
127
128
128
The call ABI of ` repr(Rust) ` types is unspecified. The following is not
129
129
guaranteed, but right now the call ABI of:
130
130
131
131
* ` /*#[repr(Rust)]*/ struct Wrapper(i32); ` (without ` repr(transparent) ` ) is also
132
- ` Scalar ` - only larger ` struct ` s are aggregates.
132
+ ` Scalar::Int(I32, true) ` - only larger ` struct ` s are aggregates.
133
133
134
134
### TODO
135
135
You can’t perform that action at this time.
0 commit comments