Skip to content

Commit ff3c1f9

Browse files
committed
rm outdated comment lines
1 parent 201ffb1 commit ff3c1f9

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

sysvar/src/clock.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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;

sysvar/src/last_restart_slot.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)