Skip to content

Commit 6633a51

Browse files
DogLooksGoodDogLooksGood
andauthored
Fix a typo (#319)
Co-authored-by: DogLooksGood <[email protected]>
1 parent 1c9e7ba commit 6633a51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

derive/src/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ impl Derivable for NoUninit {
281281
// There's `#[repr(C)]`/`[repr(C, int)]` and `#[repr(int)]`.
282282
// `#[repr(C)]` is equivalent to a struct containing the discriminant
283283
// and a union of structs representing each variant's fields.
284-
// `#[repr(C)]` is equivalent to a union containing structs of the
284+
// `#[repr(int)]` is equivalent to a union containing structs of the
285285
// discriminant and the fields.
286286
//
287287
// See https://doc.rust-lang.org/reference/type-layout.html#r-layout.repr.c.adt

0 commit comments

Comments
 (0)