We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd747ee commit b154cb4Copy full SHA for b154cb4
reference/src/glossary.md
@@ -121,15 +121,15 @@ enum Scalar {
121
122
For example, the call ABI of:
123
124
-* `i32` is `Scalar`,
+* `i32` is `Scalar::Int(I32,true)`,
125
* `#[repr(C)] struct Wrapper(i32);` is `Aggregate { sized: true }`.
126
-* `#[repr(transparent)] struct Wrapper(i32);` is `Scalar`.
+* `#[repr(transparent)] struct Wrapper(i32);` is `Scalar::Int(I32,true)`.
127
128
The call ABI of `repr(Rust)` types is unspecified. The following is not
129
guaranteed, but right now the call ABI of:
130
131
* `/*#[repr(Rust)]*/ struct Wrapper(i32);` (without `repr(transparent)`) is also
132
- `Scalar` - only larger `struct`s are aggregates.
+ `Scalar::Int(I32, true)` - only larger `struct`s are aggregates.
133
134
### TODO
135
0 commit comments