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 1c9e7ba commit 6633a51Copy full SHA for 6633a51
1 file changed
derive/src/traits.rs
@@ -281,7 +281,7 @@ impl Derivable for NoUninit {
281
// There's `#[repr(C)]`/`[repr(C, int)]` and `#[repr(int)]`.
282
// `#[repr(C)]` is equivalent to a struct containing the discriminant
283
// and a union of structs representing each variant's fields.
284
- // `#[repr(C)]` is equivalent to a union containing structs of the
+ // `#[repr(int)]` is equivalent to a union containing structs of the
285
// discriminant and the fields.
286
//
287
// See https://doc.rust-lang.org/reference/type-layout.html#r-layout.repr.c.adt
0 commit comments