From 222e0ce8d4cfec5b522fb5b01e94408680bd7307 Mon Sep 17 00:00:00 2001 From: Janito Vaqueiro Ferreira Filho Date: Wed, 2 Aug 2023 12:16:05 +0000 Subject: [PATCH] Fix documentation for test type There's only one place where padding is needed. --- linera-witty/tests/common/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linera-witty/tests/common/types.rs b/linera-witty/tests/common/types.rs index 5f714948fbf1..01bd9631b324 100644 --- a/linera-witty/tests/common/types.rs +++ b/linera-witty/tests/common/types.rs @@ -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);