Skip to content

Commit

Permalink
Fix documentation for test type
Browse files Browse the repository at this point in the history
There's only one place where padding is needed.
  • Loading branch information
jvff committed Aug 2, 2023
1 parent a643f09 commit 222e0ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linera-witty/tests/common/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub struct SimpleWrapper(pub bool);
#[derive(Clone, Copy, Debug, Eq, PartialEq, WitType, WitLoad, WitStore)]
pub struct TupleWithoutPadding(pub u64, pub i32, pub i16);

/// A tuple struct that requires internal padding in its memory layout between all of its fields.
/// A tuple struct that requires internal padding in its memory layout between two of its fields.
#[derive(Clone, Copy, Debug, Eq, PartialEq, WitType, WitLoad, WitStore)]
pub struct TupleWithPadding(pub u16, pub u32, pub i64);

Expand Down

0 comments on commit 222e0ce

Please # to comment.