File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -143,8 +143,7 @@ mod tests {
143143 #[ test]
144144 #[ cfg( feature = "bincode" ) ]
145145 fn test_clock_size_matches_bincode ( ) {
146- // Prove that Clock's in-memory layout matches its bincode serialization,
147- // so we do not need to use sysvar_packed_struct.
146+ // Prove that Clock's in-memory layout matches its bincode serialization.
148147 let clock = Clock :: default ( ) ;
149148 let in_memory_size = core:: mem:: size_of :: < Clock > ( ) ;
150149 let bincode_size = bincode:: serialized_size ( & clock) . unwrap ( ) as usize ;
Original file line number Diff line number Diff line change @@ -58,8 +58,7 @@ mod tests {
5858 #[ test]
5959 #[ cfg( feature = "bincode" ) ]
6060 fn test_last_restart_slot_size_matches_bincode ( ) {
61- // Prove that LastRestartSlot's in-memory layout matches its bincode serialization,
62- // so we do not need to use sysvar_packed_struct.
61+ // Prove that LastRestartSlot's in-memory layout matches its bincode serialization.
6362 let slot = LastRestartSlot :: default ( ) ;
6463 let in_memory_size = core:: mem:: size_of :: < LastRestartSlot > ( ) ;
6564 let bincode_size = bincode:: serialized_size ( & slot) . unwrap ( ) as usize ;
You can’t perform that action at this time.
0 commit comments