Skip to content

Commit

Permalink
fix wrong comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fu5ha committed Sep 6, 2023
1 parent 3b6f795 commit 9769319
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions derive/tests/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,6 @@ fn checkedbitpattern_int_enum_with_fields() {
#[test]
fn checkedbitpattern_nested_enum_with_fields() {
// total size 24 bytes. first byte always the u8 discriminant.
// with variant A, nested CheckedBitPatternCEnumWithFields begins at byte 4.
// with variant B, nested CheckedBitPatternCDefaultDiscriminantEnumWithFields begins at byte 8.

#[repr(C, align(8))]
struct Align8Bytes([u8; 24]);
Expand Down

0 comments on commit 9769319

Please sign in to comment.